diff --git a/.travis.yml b/.travis.yml index 1d20f459e..2dbd6c5a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,7 @@ cache: - $HOME/.gradle/wrapper/ install: - - ./gradlew assemble + - '[ -n "$UPLOAD_NATIVE" ] && ./gradlew -PbuildNativeProjects=true assemble || ./gradlew assemble' script: - ./gradlew check diff --git a/jme3-bullet-native/build.gradle b/jme3-bullet-native/build.gradle index 80fa6c759..b94769943 100644 --- a/jme3-bullet-native/build.gradle +++ b/jme3-bullet-native/build.gradle @@ -191,7 +191,6 @@ unzipBullet.dependsOn { } task unzipBulletIfNeeded { - } unzipBulletIfNeeded.dependsOn { diff --git a/private/upload_native.sh b/private/upload_native.sh index 051c495b1..eeeb5bb1f 100755 --- a/private/upload_native.sh +++ b/private/upload_native.sh @@ -4,7 +4,6 @@ NATIVE_CHANGES="$(git diff-tree --name-only "$TRAVIS_COMMIT" -- jme3-bullet-nati if [ "$NATIVE_CHANGES" != "" ]; then git config --global user.email "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 chmod 600 "$HOME/.ssh/id_rsa" git checkout "$TRAVIS_BRANCH"