File tree Expand file tree Collapse file tree 4 files changed +18
-2
lines changed Expand file tree Collapse file tree 4 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,6 @@ before_install:
14
14
15
15
script :
16
16
- ./gradlew test integrationTest
17
+
18
+ after_success :
19
+ - ./gradlew jacocoTestReport coveralls
Original file line number Diff line number Diff line change 1
1
# RemRem Produce
2
2
3
3
[ ![ Build Status] ( https://travis-ci.org/Ericsson/eiffel-remrem-produce.svg?branch=master )] ( https://travis-ci.org/Ericsson/eiffel-remrem-produce )
4
+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/Ericsson/eiffel-remrem-produce/badge.svg?branch=master )] ( https://coveralls.io/github/Ericsson/eiffel-remrem-produce?branch=master )
4
5
[ ![ ] ( https://jitpack.io/v/Ericsson/eiffel-remrem-produce.svg )] ( https://jitpack.io/#Ericsson/eiffel-remrem-produce )
5
6
6
7
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ plugins {
13
13
id ' idea'
14
14
id ' war'
15
15
id ' maven'
16
+ id ' jacoco'
17
+ id ' com.github.kt3k.coveralls' version ' 2.6.3'
16
18
}
17
19
18
20
war {
22
24
23
25
apply plugin : ' spring-boot'
24
26
27
+ jacocoTestReport {
28
+ reports {
29
+ xml. enabled = true // coveralls plugin depends on xml format report
30
+ html. enabled = true
31
+ html. destination " ${ buildDir} /jacocoHtml"
32
+ }
33
+ }
34
+
25
35
configurations {
26
36
providedRuntime
27
37
provided
@@ -73,7 +83,9 @@ task integrationTest(type: Test) {
73
83
dependencies {
74
84
// The production code uses the SLF4J logging API at compile time
75
85
compile ' org.slf4j:slf4j-api:1.7.18'
76
- compile " org.springframework.boot:spring-boot-starter-web:$sprintBootVersion "
86
+ compile(" org.springframework.boot:spring-boot-starter-web:$sprintBootVersion " ) {
87
+ exclude group : ' org.springframework.boot' , module : ' spring-boot-starter-tomcat'
88
+ }
77
89
compile " org.springframework.boot:spring-boot-starter-actuator:$sprintBootVersion "
78
90
compile ' com.rabbitmq:amqp-client:3.5.7'
79
91
compile ' com.google.code.gson:gson:2.6.2'
Original file line number Diff line number Diff line change 1
- # Wed May 18 16:02:46 CDT 2016
1
+ # Thu May 19 09:47:27 EDT 2016
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
You can’t perform that action at this time.
0 commit comments