|
@@ -1,7 +1,7 @@
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
set -euo pipefail
|
|
set -euo pipefail
|
|
-# NATIVE_CHANGES="$(git diff-tree --name-only "$TRAVIS_COMMIT" -- jme3-bullet-native/)"
|
|
|
|
-# if [ "$NATIVE_CHANGES" != "" ]; then
|
|
|
|
|
|
+NATIVE_CHANGES="$(git diff-tree --name-only "$TRAVIS_COMMIT" -- jme3-bullet-native/)"
|
|
|
|
+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
|
|
./gradlew -PbuildNativeProjects=true :jme3-bullet-native:assemble
|
|
@@ -13,4 +13,4 @@ set -euo pipefail
|
|
git commit -v -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives"
|
|
git commit -v -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives"
|
|
git pull -q --rebase
|
|
git pull -q --rebase
|
|
git push [email protected]:jMonkeyEngine/jmonkeyengine.git
|
|
git push [email protected]:jMonkeyEngine/jmonkeyengine.git
|
|
-# fi
|
|
|
|
|
|
+fi
|