travis: also build with java 9
Project: http://git-wip-us.apache.org/repos/asf/commons-pool/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-pool/commit/30d5db67 Tree: http://git-wip-us.apache.org/repos/asf/commons-pool/tree/30d5db67 Diff: http://git-wip-us.apache.org/repos/asf/commons-pool/diff/30d5db67 Branch: refs/heads/master Commit: 30d5db67a2cd0bf3d9a2dd7ffaa7dd247760a9bd Parents: b53f66c Author: pascalschumacher <pascalschumac...@gmx.net> Authored: Sun Feb 4 14:07:08 2018 +0100 Committer: pascalschumacher <pascalschumac...@gmx.net> Committed: Sun Feb 4 14:07:08 2018 +0100 ---------------------------------------------------------------------- .travis.yml | 1 + pom.xml | 10 ++++++++++ 2 files changed, 11 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-pool/blob/30d5db67/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index e0a9da1..4347192 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,7 @@ sudo: false jdk: - openjdk7 - oraclejdk8 + - oraclejdk9 script: - mvn http://git-wip-us.apache.org/repos/asf/commons-pool/blob/30d5db67/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 95ebeba..18f1773 100644 --- a/pom.xml +++ b/pom.xml @@ -336,6 +336,16 @@ </plugins> </build> </profile> + <profile> + <id>java9</id> + <activation> + <jdk>9</jdk> + </activation> + <properties> + <!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 --> + <coveralls.skip>true</coveralls.skip> + </properties> + </profile> </profiles> </project>