Skip to content

Commit

Permalink
Try GoogleCloudPlatform/DataflowJavaSDK trick #60
Browse files Browse the repository at this point in the history
  • Loading branch information
krisskross committed Feb 8, 2016
1 parent b401a81 commit 7db502f
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,37 @@ language: java
os:
- linux
- osx
#jdk:
# - oraclejdk8

branches:
except:
- /.*test$/

env:
matrix:
- CUSTOM_JDK="default"
- CUSTOM_JDK="oraclejdk8"
- CUSTOM_JDK="oraclejdk7"
- CUSTOM_JDK="openjdk7"

matrix:
exclude:
# On OSX, run with default JDK only.
- os: osx
env: CUSTOM_JDK="oraclejdk8"
- os: osx
env: CUSTOM_JDK="oraclejdk7"
- os: osx
env: CUSTOM_JDK="openjdk7"
# On Linux, run with specific JDKs only.
- os: linux
env: CUSTOM_JDK="default"

before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/usr/libexec/java_home); fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then jdk_switcher use "$CUSTOM_JDK"; fi

before_script: sudo apt-get install build-essential automake1.10 libtool

script: "mvn install -P linux64"

after_success:
Expand Down

0 comments on commit 7db502f

Please sign in to comment.