Skip to content

Commit

Permalink
Merge pull request #11 from steveswinsburg/patch-1
Browse files Browse the repository at this point in the history
Updated README to note Cobertura and JDK11 restriction
  • Loading branch information
thomasrockhu authored Aug 7, 2020
2 parents a4d9cef + 223250f commit a997fe8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
language: java

# Cobertura is not supported in JDK11 so you must downgrade the JDK that Travis uses if you want to use Cobertura with Travis.
# https://github.com/cobertura/cobertura/issues/381
jdk:
- openjdk8

sudo: false # faster builds

script: "mvn cobertura:cobertura"
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ Add to your `.travis.yml` file.
```yml
language: java

# Cobertura is not supported in JDK11 so you must downgrade the JDK that Travis uses if you want to use Cobertura with Travis.
# See https://github.com/cobertura/cobertura/issues/381
jdk:
- openjdk8

script: "mvn cobertura:cobertura"

after_success:
Expand Down

0 comments on commit a997fe8

Please sign in to comment.