Skip to content

Commit

Permalink
Update travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NESOY committed Apr 8, 2018
1 parent 67de82e commit 7c807f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ cache:
script: "./gradlew clean build"

after_success:
- ./gradlew jacocoTestReport coveralls
- ./gradlew cobertura coveralls
10 changes: 3 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ buildscript {
}
}
plugins {
id 'jacoco'
id 'net.saliman.cobertura' version '2.3.1'
id 'com.github.kt3k.coveralls' version '2.8.2'
}



apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
Expand All @@ -34,9 +35,4 @@ dependencies {
testCompile('org.springframework.boot:spring-boot-starter-test')
}

jacocoTestReport {
reports {
xml.enabled = true // coveralls plugin depends on xml format report
html.enabled = true
}
}
cobertura.coverageFormats = ['html', 'xml'] // coveralls plugin depends on xml format report

0 comments on commit 7c807f0

Please sign in to comment.