Skip to content

Commit

Permalink
Configure a Travis job that uses Java 7 for the modules that are back…
Browse files Browse the repository at this point in the history
…wards compatible.
  • Loading branch information
motlin committed Dec 27, 2015
1 parent ef98041 commit 5484ce6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: java
sudo: false

before_install: echo "MAVEN_OPTS='-Dmaven.repo.local=$HOME/.m2/repository -Xmx2g -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS'" > ~/.mavenrc
before_install: echo "MAVEN_OPTS='-Dmaven.repo.local=$HOME/.m2/repository -Xmx1g -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS'" > ~/.mavenrc
install:
-

Expand Down Expand Up @@ -33,6 +33,11 @@ matrix:
- DESC="compile all modules"
- CMD="mvn install --activate-profiles all -DskipTests=true --batch-mode --show-version --errors"

- jdk: oraclejdk7
env:
- DESC="compile with Java 7"
- CMD="mvn install --projects eclipse-collections-code-generator,eclipse-collections-code-generator-maven-plugin,eclipse-collections,eclipse-collections-api,eclipse-collections-testutils,eclipse-collections-forkjoin,serialization-tests -Dmaven.compiler.verbose=true --batch-mode --show-version --errors; jdk_switcher use oraclejdk8; mvn install --projects eclipse-collections-code-generator,eclipse-collections-code-generator-maven-plugin,unit-tests,junit-trait-runner,unit-tests-java8 -Dmaven.compiler.verbose=true --batch-mode --show-version --errors"

script: eval $CMD

cache:
Expand Down

0 comments on commit 5484ce6

Please sign in to comment.