Skip to content
This repository has been archived by the owner on Jul 13, 2019. It is now read-only.

Commit

Permalink
Correct Travis CI configuration and use JDK 9
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed Nov 16, 2017
1 parent 4eaa02e commit 735abef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
env:
_JAVA_OPTIONS="-Xms1G -Xmx4G"

language: java

jdk:
- oraclejdk8

addons:
apt:
packages:
- oracle-java8-installer
- oraclejdk9

install: true

script:
- mvn clean verify
- mvn --errors clean verify site
- bash <(curl -s https://codecov.io/bash) -f com.io7m.jpra.tests/target/site/jacoco/jacoco.xml

notifications:
irc: "chat.freenode.net#io7m"
Expand Down
6 changes: 6 additions & 0 deletions com.io7m.jpra.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@
</ignoredUnusedDeclaredDependencies>
</configuration>
</plugin>

<!-- Determine test coverage -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 735abef

Please sign in to comment.