Skip to content

Commit

Permalink
[#3] Setup cobertura to work on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanLin-TWer committed Jan 14, 2017
1 parent e61d430 commit 60efebd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ jdk:
install:
- ./gradlew assemble --no-daemon
script:
- ./gradlew clean check junitPlatformTest --no-daemon
- ./gradlew clean check junitPlatformTest test--no-daemon
# - ./gradlew clean check junitPlatformTest coberturaCheck test--no-daemon
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
Expand Down
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@ junitPlatform {
}

cobertura {
coverageIgnoreTrivial = true
coverageCheckHaltOnFailure = true
coverageCheckLineRate = 90
coverageCheckBranchRate = 90
}

0 comments on commit 60efebd

Please sign in to comment.