Skip to content

Commit

Permalink
Now coveralls should work
Browse files Browse the repository at this point in the history
- changed key
- added xml report generation by jacoco
  • Loading branch information
Karol Lassak committed Jun 12, 2014
1 parent 9e24860 commit 7ab18f7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jdk:

env:
global:
- secure: "Lqi30fOkp2QgSTxLDWlPW1ArSva/mWHW5yjTalw1Pk/v7LTEHA4LfcOEMKJ/RfH3gKvpq0UP90Nb8t4cAooM1AkHKLb/5lOv8eys4Qj3XyeJcmDLJz8Znre0r6SWA8/DFMzugjPu++4ul+CQOFB8/DkCeA3hDVRuI4yHYKVwArM="
- secure: "NboTQT1jou+I+9axk6qnMqdJBUhLeucpos42GmHblFhNQEGl3jZGOpAZ0ycS75fa5u5ad+/1S7i8QBpMhYwmfzpuXtI69tUmIVi/KkJsrQQwaWqcOOUzLUDUlxfqzvM7DTr5gCW/SBh8vb3I3Y0uVNRhNlHgXa84/rqcjWXocpI="

after_success:
- gradle jacocoTestReport coveralls
27 changes: 17 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,6 @@ repositories {
mavenCentral()
}

buildscript {
repositories {
mavenCentral()
}

dependencies {
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:0.3.0'
}
}

//noinspection GroovyAssignabilityCheck
dependencies {
compile 'org.apache.httpcomponents:httpclient:4.3.1'
Expand Down Expand Up @@ -75,3 +65,20 @@ dependencies {
}
}

// Jacoco + coveralls
buildscript {
repositories {
mavenCentral()
}

dependencies {
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:0.3.0'
}
}

jacocoTestReport {
reports {
xml.enabled = true // coveralls plugin depends on xml format report
html.enabled = true
}
}

0 comments on commit 7ab18f7

Please sign in to comment.