Skip to content

Commit

Permalink
Try jacoco
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane Maldini committed Sep 5, 2016
1 parent 993216e commit a78e31a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ language: java
jdk:
- oraclejdk8

install: true
sudo: required

after_success:
Expand Down
12 changes: 5 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,23 @@ ext {

}

apply plugin: 'java'
apply plugin: 'jacoco'
apply from: "$gradleScriptDir/setup.gradle"
apply from: "$gradleScriptDir/doc.gradle"
apply plugin: 'propdeps'
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'osgi'
apply plugin: 'jacoco'
apply from: "${gradleScriptDir}/ide.gradle"

jacoco {
toolVersion = '0.7.7.201606060606'
reportsDir = file("$buildDir/reports/jacoco")
// See http://www.eclemma.org/jacoco/.
}

jacocoTestReport {
reports {
xml.enabled true
html.enabled true
xml.enabled = true
html.enabled = true
}
}

Expand Down Expand Up @@ -219,4 +217,4 @@ task testNG(type: Test) {
}
}

check.dependsOn testNG
check.dependsOn jacocoTestReport, testNG

0 comments on commit a78e31a

Please sign in to comment.