travis: add build/upload task

native-compilation-test
Kirill Vainer 8 years ago
parent 4f53351f76
commit 7f936fa29b
  1. 15
      .travis.yml

@ -8,12 +8,14 @@ branches:
matrix: matrix:
include: include:
- jdk: oraclejdk8 - os: osx
os: linux env: BUILD_TASK=":jme3-bullet-native:build" UPLOAD_TASK=":jme3-bullet-native:bintrayUpload"
# env: UPLOAD_ALL=true # - jdk: oraclejdk8
# os: linux
# env: GRADLE_TASK="check"
# - jdk: openjdk7 # - jdk: openjdk7
# os: linux # os: linux
# - os: osx # env: GRADLE_TASK="check"
addons: addons:
apt: apt:
@ -36,11 +38,10 @@ cache:
install: install:
script: script:
- ./gradlew :jme3-bullet-native:build - './gradlew "$BUILD_TASK"'
# - ./gradlew check
after_success: after_success:
- '[ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ -n "$UPLOAD_ALL" ] && ./gradlew bintrayUpload || :' - '[ -n "$TRAVIS_TAG" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && ./gradlew "$UPLOAD_TASK" || :'
notifications: notifications:
slack: slack:

Loading…
Cancel
Save