Skip to content

Commit

Permalink
Try adding code coverage through coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
iamthechad committed Aug 12, 2015
1 parent cadb978 commit 8794d33
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

.DS_Store
target
target
cobertura.ser
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ language: groovy
jdk:
- oraclejdk8
- oraclejdk7
script: ./grailsw refresh-dependencies && ./grailsw "test-app unit:"
script: ./grailsw refresh-dependencies && ./grailsw "test-app unit: -coverage -xml"
after_success:
- ./grailsw coveralls
notifications:
slack:
secure: ag9X/xRYA/21GxI7XYORZ85nRmHJ4ZLhdX2FKHh35aYVXOHhnE+6XGxiC4frKJVhrcox71rnoLKV0KzvlN4zjNB4jsEsVaT/NJTWQoK/CySxthYxJAFPW9JDhr6oOw+XF46FmX6Ufit746/17bQykly8zq9c1mbEOg4QB5q5FMM=
12 changes: 11 additions & 1 deletion grails-app/conf/BuildConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,19 @@ grails.project.dependency.resolution = {

mavenCentral()
}
dependencies {
// Latest httpcore and httpmime for Coveralls plugin
build 'org.apache.httpcomponents:httpcore:4.3.2'
build 'org.apache.httpcomponents:httpclient:4.3.2'
build 'org.apache.httpcomponents:httpmime:4.3.3'
}

plugins {
build(':release:3.0.1') {
// Coveralls plugin
build(':coveralls:0.1.3', ':rest-client-builder:1.0.3', ':release:3.0.1') {
export = false
}
test(':code-coverage:2.0.3-3') {
export = false
}
}
Expand Down

0 comments on commit 8794d33

Please sign in to comment.