Skip to content

Commit

Permalink
Added coveralls test coverage
Browse files Browse the repository at this point in the history
- Thru jacoco
- Owner will need to generate own secure string
  • Loading branch information
Karol Lassak committed Jun 12, 2014
1 parent a3b3296 commit c81d234
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ jdk:
- openjdk7
- oraclejdk7
- oraclejdk8

env:
- secure: "Lqi30fOkp2QgSTxLDWlPW1ArSva/mWHW5yjTalw1Pk/v7LTEHA4LfcOEMKJ/RfH3gKvpq0UP90Nb8t4cAooM1AkHKLb/5lOv8eys4Qj3XyeJcmDLJz8Znre0r6SWA8/DFMzugjPu++4ul+CQOFB8/DkCeA3hDVRuI4yHYKVwArM="
- TERM=dumb

after_success:
- gradle jacocoTestReport coveralls
15 changes: 14 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'idea'
apply plugin: 'jacoco'
apply plugin: 'coveralls'

sourceCompatibility = 1.7
targetCompatibility = 1.7
Expand All @@ -11,6 +13,16 @@ 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 @@ -61,4 +73,5 @@ dependencies {
testCompile('com.github.tomakehurst:wiremock:1.46') {
exclude group: 'log4j'
}
}
}

0 comments on commit c81d234

Please sign in to comment.