travis: add upload native check
This commit is contained in:
parent
2b7b9dbe09
commit
8fedbab263
@ -37,6 +37,8 @@ install:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- ./gradlew check
|
- ./gradlew check
|
||||||
|
- 'export UPLOAD_NATIVE=$(git diff-tree --name-only $TRAVIS_COMMIT -- jme3-bullet-native/)'
|
||||||
|
- '[ "$UPLOAD_NATIVE" != "" ] && echo will upload native || echo not uploading native'
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- '[ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ -n "$UPLOAD" ] && ./gradlew bintrayUpload || :'
|
- '[ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ -n "$UPLOAD" ] && ./gradlew bintrayUpload || :'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user