upload_native: always assemble native

native-compilation-test
Kirill Vainer 8 years ago
parent f7c161562a
commit da8b53d0a2
  1. 2
      .travis.yml
  2. 1
      jme3-bullet-native/build.gradle
  3. 1
      private/upload_native.sh

@ -36,7 +36,7 @@ cache:
- $HOME/.gradle/wrapper/ - $HOME/.gradle/wrapper/
install: install:
- ./gradlew assemble - '[ -n "$UPLOAD_NATIVE" ] && ./gradlew -PbuildNativeProjects=true assemble || ./gradlew assemble'
script: script:
- ./gradlew check - ./gradlew check

@ -191,7 +191,6 @@ unzipBullet.dependsOn {
} }
task unzipBulletIfNeeded { task unzipBulletIfNeeded {
} }
unzipBulletIfNeeded.dependsOn { unzipBulletIfNeeded.dependsOn {

@ -4,7 +4,6 @@ NATIVE_CHANGES="$(git diff-tree --name-only "$TRAVIS_COMMIT" -- jme3-bullet-nati
if [ "$NATIVE_CHANGES" != "" ]; then if [ "$NATIVE_CHANGES" != "" ]; then
git config --global user.email "travis-ci" git config --global user.email "travis-ci"
git config --global user.name "travis-ci" git config --global user.name "travis-ci"
./gradlew -PbuildNativeProjects=true :jme3-bullet-native:assemble
openssl aes-256-cbc -K $encrypted_f0a0b284e2e8_key -iv $encrypted_f0a0b284e2e8_iv -in private/key.enc -out "$HOME/.ssh/id_rsa" -d openssl aes-256-cbc -K $encrypted_f0a0b284e2e8_key -iv $encrypted_f0a0b284e2e8_iv -in private/key.enc -out "$HOME/.ssh/id_rsa" -d
chmod 600 "$HOME/.ssh/id_rsa" chmod 600 "$HOME/.ssh/id_rsa"
git checkout "$TRAVIS_BRANCH" git checkout "$TRAVIS_BRANCH"

Loading…
Cancel
Save