Skip to content

Commit

Permalink
Explicitly include all the different envs in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
muuki88 committed Jul 17, 2017
1 parent 34050be commit dbf196f
Showing 1 changed file with 40 additions and 24 deletions.
64 changes: 40 additions & 24 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,54 @@
language: java
os: linux
jdk: oraclejdk8

env:
- SBT_TEST_CMD="validate"
- SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validate"
- SBT_TEST_CMD="validateUniversal"
- SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateUniversal"
- SBT_TEST_CMD="validateJar"
- SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateJar"
- SBT_TEST_CMD="validateBash"
- SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateBash"
- SBT_TEST_CMD="validateAsh"
- SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateAsh"
- SBT_TEST_CMD="validateRpm"
- SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateRpm"
- SBT_TEST_CMD="validateDebian"
- SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateDebian"
# for now we can't test the docker image generation on travis
- SBT_TEST_CMD="validateDockerUnit"
- SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateDockerUnit"
# jdk packaging is only available on jdk8+
- SBT_TEST_CMD="validateJdkPackager"
- SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateJdkPackager"

before_install:
- if [[ "$TRAVIS_OS_NAME" = "osx" ]]; then
brew update;
brew install xz;
fi
script: ./sbt "$SBT_TEST_CMD" ;
script: ./sbt "$SBT_TEST_CMD";

# We explicitly set the matrix to include oraclejdk8 because MacOS X has issues. See comment below
matrix:
include:
- jdk: oraclejdk8
env: SBT_TEST_CMD="validate"
- jdk: oraclejdk8
env: SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validate"
- jdk: oraclejdk8
env: SBT_TEST_CMD="validateUniversal"
- jdk: oraclejdk8
env: SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateUniversal"
- jdk: oraclejdk8
env: SBT_TEST_CMD="validateJar"
- jdk: oraclejdk8
env: SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateJar"
- jdk: oraclejdk8
env: SBT_TEST_CMD="validateBash"
- jdk: oraclejdk8
env: SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateBash"
- jdk: oraclejdk8
env: SBT_TEST_CMD="validateAsh"
- jdk: oraclejdk8
env: SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateAsh"
- jdk: oraclejdk8
env: SBT_TEST_CMD="validateRpm"
- jdk: oraclejdk8
env: SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateRpm"
- jdk: oraclejdk8
env: SBT_TEST_CMD="validateDebian"
- jdk: oraclejdk8
env: SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateDebian"
# for now we can't test the docker image generation on travis
- jdk: oraclejdk8
env: SBT_TEST_CMD="validateDockerUnit"
- jdk: oraclejdk8
env: SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateDockerUnit"
# jdk packaging is only available on jdk8+
- jdk: oraclejdk8
env: SBT_TEST_CMD="validateJdkPackager"
- jdk: oraclejdk8
env: SBT_TEST_CMD="++2.12.2 ^^1.0.0-M6 validateJdkPackager"
# oraclejdk8 is not yet available.
# see https://github.com/travis-ci/travis-ci/issues/2316
- os: osx
Expand Down

0 comments on commit dbf196f

Please sign in to comment.