diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2019-03-22 16:29:47 +0100 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2019-03-22 16:29:47 +0100 |
commit | 78f60007dcd40c9b6c79cbcde8a5ffb72c87410b (patch) | |
tree | ac6f85f2fdf699618b43fce8dbc31fe6e0d04ea5 | |
parent | 05dbc8ced954faf00a8d31d31776ad13a846bb93 (diff) | |
download | jacoco-78f60007dcd40c9b6c79cbcde8a5ffb72c87410b.tar.gz |
Build with JDK 13 EA in Travis
-rwxr-xr-x | .travis.sh | 8 | ||||
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | org.jacoco.build/pom.xml | 16 |
3 files changed, 25 insertions, 0 deletions
@@ -66,6 +66,9 @@ case "$JDK" in 12-ea) install_jdk $JDK12_EA_URL ;; +13-ea) + install_jdk $JDK13_EA_URL + ;; esac # Do not use "~/.mavenrc" set by Travis (https://github.com/travis-ci/travis-ci/issues/3893), @@ -101,6 +104,11 @@ case "$JDK" in mvn -V -B -e verify -Dbytecode.version=12 \ --settings=./.travis/settings.xml ;; +13-ea) + mvn -V -B -e verify -Dbytecode.version=13 \ + --projects \!org.jacoco.core.test.validation.groovy \ + --settings=./.travis/settings.xml + ;; *) echo "Incorrect JDK [$JDK]" exit 1; diff --git a/.travis.yml b/.travis.yml index 854f0cff..19eb8d3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,5 +27,6 @@ env: - JDK=10 - JDK=11 - JDK=12-ea + - JDK=13-ea script: ./.travis.sh diff --git a/org.jacoco.build/pom.xml b/org.jacoco.build/pom.xml index 7548b27d..6726a10c 100644 --- a/org.jacoco.build/pom.xml +++ b/org.jacoco.build/pom.xml @@ -361,6 +361,14 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>3.6.0</version> + <dependencies> + <dependency> + <!-- Workaround to be able to compile into Java 13 bytecode --> + <groupId>org.ow2.asm</groupId> + <artifactId>asm</artifactId> + <version>7.1</version> + </dependency> + </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -386,6 +394,14 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.2.1</version> + <dependencies> + <dependency> + <!-- Workaround to be able to compile into Java 13 bytecode --> + <groupId>org.ow2.asm</groupId> + <artifactId>asm</artifactId> + <version>7.1</version> + </dependency> + </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> |