travis: set key permissions

native-compilation-test
Kirill Vainer 8 years ago
parent 964e0017e9
commit 19c5c2df24
  1. 1
      jme3-bullet-native/build.gradle
  2. 1
      private/upload_native.sh

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

@ -6,6 +6,7 @@ if [ "$NATIVE_CHANGES" != "" ]; then
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"
git checkout -q "$TRAVIS_BRANCH" git checkout -q "$TRAVIS_BRANCH"
git add -- jme3-bullet-native/libs/native/ git add -- jme3-bullet-native/libs/native/
git commit -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives" git commit -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives"

Loading…
Cancel
Save