aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2019-03-22 16:29:47 +0100
committerEvgeny Mandrikov <mandrikov@gmail.com>2019-03-22 16:29:47 +0100
commit78f60007dcd40c9b6c79cbcde8a5ffb72c87410b (patch)
treeac6f85f2fdf699618b43fce8dbc31fe6e0d04ea5
parent05dbc8ced954faf00a8d31d31776ad13a846bb93 (diff)
downloadplatform_external_jacoco-78f60007dcd40c9b6c79cbcde8a5ffb72c87410b.tar.gz
platform_external_jacoco-78f60007dcd40c9b6c79cbcde8a5ffb72c87410b.tar.bz2
platform_external_jacoco-78f60007dcd40c9b6c79cbcde8a5ffb72c87410b.zip
Build with JDK 13 EA in Travis
-rwxr-xr-x.travis.sh8
-rw-r--r--.travis.yml1
-rw-r--r--org.jacoco.build/pom.xml16
3 files changed, 25 insertions, 0 deletions
diff --git a/.travis.sh b/.travis.sh
index dcd9d119..cb2022cf 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -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>