travis: test mac native upload
This commit is contained in:
parent
d831d7f010
commit
f5dbafe013
@ -1,15 +1,16 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
NATIVE_CHANGES="$(git diff-tree --name-only "$TRAVIS_COMMIT" -- jme3-bullet-native/)"
|
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.email "travis-ci"
|
||||||
git config --global user.name "travis-ci"
|
git config --global user.name "travis-ci"
|
||||||
./gradlew --no-daemon -PbuildNativeProjects=true :jme3-bullet-native:assemble
|
./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
|
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 -q "$TRAVIS_BRANCH"
|
ssh -v -T git@github.com
|
||||||
git add -- jme3-bullet-native/libs/native/
|
# git checkout -q "$TRAVIS_BRANCH"
|
||||||
git commit -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives"
|
# git add -- jme3-bullet-native/libs/native/
|
||||||
git pull -q --rebase
|
# git commit -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives"
|
||||||
git push git@github.com:jMonkeyEngine/jmonkeyengine.git
|
# git pull -q --rebase
|
||||||
fi
|
# git push git@github.com:jMonkeyEngine/jmonkeyengine.git
|
||||||
|
# fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user