diff --git a/.travis.yml b/.travis.yml index d35861a09..454c5dc88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,12 +8,14 @@ branches: matrix: include: - - jdk: oraclejdk8 - os: linux - # env: UPLOAD_ALL=true + - os: osx + env: BUILD_TASK=":jme3-bullet-native:build" UPLOAD_TASK=":jme3-bullet-native:bintrayUpload" + # - jdk: oraclejdk8 + # os: linux + # env: GRADLE_TASK="check" # - jdk: openjdk7 # os: linux - # - os: osx + # env: GRADLE_TASK="check" addons: apt: @@ -36,11 +38,10 @@ cache: install: script: - - ./gradlew :jme3-bullet-native:build - # - ./gradlew check + - './gradlew "$BUILD_TASK"' 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: slack: