travis: set git identity
This commit is contained in:
parent
44bf751e35
commit
964e0017e9
@ -11,8 +11,10 @@ matrix:
|
||||
- os: linux
|
||||
jdk: oraclejdk8
|
||||
env: UPLOAD=true UPLOAD_NATIVE=true
|
||||
# - os: linux
|
||||
# jdk: openjdk7
|
||||
- os: linux
|
||||
jdk: openjdk7
|
||||
- os: osx
|
||||
env: UPLOAD_NATIVE=true
|
||||
|
||||
addons:
|
||||
apt:
|
||||
|
@ -191,7 +191,6 @@ unzipBullet.dependsOn {
|
||||
}
|
||||
|
||||
task unzipBulletIfNeeded {
|
||||
|
||||
}
|
||||
|
||||
unzipBulletIfNeeded.dependsOn {
|
||||
|
@ -2,6 +2,8 @@
|
||||
set -e
|
||||
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.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
|
||||
git checkout -q "$TRAVIS_BRANCH"
|
||||
|
Loading…
x
Reference in New Issue
Block a user