Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Commit

Permalink
Coveralls code coverage integration added
Browse files Browse the repository at this point in the history
  • Loading branch information
benorama committed May 21, 2014
1 parent d1d42a3 commit 13735d8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
@@ -0,0 +1,7 @@
language: groovy
jdk: oraclejdk7
script:
- ./grailsw refresh-dependencies
- ./grailsw "test-app -coverage -xml"
after_success:
- ./grailsw coveralls
16 changes: 11 additions & 5 deletions grails-app/conf/BuildConfig.groovy
Expand Up @@ -21,18 +21,24 @@ 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'
// Latest HttpBuilder
compile('org.codehaus.groovy.modules.http-builder:http-builder:0.7') {
excludes 'commons-logging', 'xml-apis', 'groovy'
}
}

plugins {
//build ':tomcat:7.0.52.1'
build(":release:3.0.1",
":rest-client-builder:1.0.3") {
build(':release:3.0.1',
':rest-client-builder:1.0.3',
':coveralls:0.1') {
export = false
}
test(':code-coverage:1.2.7') {
export = false
}

//runtime ':console:1.3'
}
}

0 comments on commit 13735d8

Please sign in to comment.