Skip to content

Commit

Permalink
Add Java 9 to Travis CI builds
Browse files Browse the repository at this point in the history
Change .travis.yml to also run the build with Java 9.
Change build.xml file to include a Messages.properties file on the
classpath as it's required by core.

Part of zaproxy/zaproxy#2602 - Java 9
  • Loading branch information
thc202 committed Jul 11, 2018
1 parent e3019d4 commit 19562e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -3,4 +3,5 @@ script: ant -buildfile build/build.xml test
sudo: false

jdk:
- oraclejdk8
- oraclejdk8
- oraclejdk9
2 changes: 2 additions & 0 deletions build/build.xml
Expand Up @@ -101,6 +101,8 @@
</fileset>
<fileset dir="${test.src}/resources/" />
</copy>
<!-- Required by core (<= 2.7.0) on Java 9+ -->
<touch file="${test.build}/Messages.properties" />
<echo message="Running tests..." />
<junit printsummary="yes" haltonerror="true" failureproperty="TestsFailed">
<classpath>
Expand Down

0 comments on commit 19562e5

Please sign in to comment.