From f58242f2855da42a411be5a32bc5c7ac6466189c Mon Sep 17 00:00:00 2001 From: Kirill Vainer Date: Sun, 27 Nov 2016 11:46:06 -0500 Subject: [PATCH] Revert "travis: test mac native upload" This reverts commit f5dbafe013023ad54eac5b1ccc34eb9fcb7a9a73. --- private/upload_native.sh | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/private/upload_native.sh b/private/upload_native.sh index a2ea59e5b..a94eba22c 100755 --- a/private/upload_native.sh +++ b/private/upload_native.sh @@ -1,16 +1,15 @@ #!/bin/sh set -e NATIVE_CHANGES="$(git diff-tree --name-only "$TRAVIS_COMMIT" -- jme3-bullet-native/)" -# if [ "$NATIVE_CHANGES" != "" ]; then +if [ "$NATIVE_CHANGES" != "" ]; then git config --global user.email "travis-ci" git config --global user.name "travis-ci" ./gradlew --no-daemon -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" - ssh -v -T git@github.com - # git checkout -q "$TRAVIS_BRANCH" - # git add -- jme3-bullet-native/libs/native/ - # git commit -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives" - # git pull -q --rebase - # git push git@github.com:jMonkeyEngine/jmonkeyengine.git -# fi + git checkout -q "$TRAVIS_BRANCH" + git add -- jme3-bullet-native/libs/native/ + git commit -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives" + git pull -q --rebase + git push git@github.com:jMonkeyEngine/jmonkeyengine.git +fi