aboutsummaryrefslogtreecommitdiff
path: root/.travis.sh
diff options
context:
space:
mode:
authorEvgeny Mandrikov <Godin@users.noreply.github.com>2016-08-01 09:25:51 +0200
committerGitHub <noreply@github.com>2016-08-01 09:25:51 +0200
commitc6f2b6b7e887eb645b8aba928ff0134cfe66ec28 (patch)
treea7fa83baa5313ec0660e8b2856e6bda21568ac61 /.travis.sh
parent8f05e7c58610d31ae322e82f34e55722a6c47bd4 (diff)
downloadjacoco-c6f2b6b7e887eb645b8aba928ff0134cfe66ec28.tar.gz
Execute core tests with bytecode version 9 (#411)
And build using two different versions of JDK 9 EA in Travis: * `9-ea` - currently under testing and hence failures are allowed while we investigate them * `9-ea-stable` - tested previously and hence failures are not allowed, so that to verify that new changes do not introduce regressions For example fixes on our side were required for the changes introduced in JDK 9 EA b119 and b122 and still required for b127.
Diffstat (limited to '.travis.sh')
-rwxr-xr-x.travis.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/.travis.sh b/.travis.sh
index aaa26e73..d75ce17d 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -52,6 +52,9 @@ case "$JDK" in
9-ea)
install_jdk $JDK9_EA_URL
;;
+9-ea-stable)
+ install_jdk $JDK9_EA_STABLE_URL
+ ;;
esac
# Do not use "~/.mavenrc" set by Travis (https://github.com/travis-ci/travis-ci/issues/3893),
@@ -81,9 +84,9 @@ case "$JDK" in
8 | 8-ea)
mvn -V -B -e verify -Dbytecode.version=1.8
;;
-9-ea)
+9-ea | 9-ea-stable)
# see https://bugs.openjdk.java.net/browse/JDK-8131041 about "java.locale.providers"
- mvn -V -B -e verify -Dbytecode.version=1.8 \
+ mvn -V -B -e verify -Dbytecode.version=1.9 \
-DargLine=-Djava.locale.providers=JRE,SPI
;;
*)