File tree 3 files changed +43
-1
lines changed
3 files changed +43
-1
lines changed Original file line number Diff line number Diff line change @@ -12,5 +12,16 @@ before_script:
12
12
- src/test/travis.pre.sh
13
13
14
14
script :
15
- - mvn verify
15
+ - |
16
+ if [ "${TRAVIS_JDK_VERSION}" = openjdk11 ]; then
17
+ mvn verify jacoco:report
18
+ else
19
+ mvn verify
20
+ fi
16
21
- sudo cat /var/log/tarantool/jdk-testing.log
22
+
23
+ after_success :
24
+ - |
25
+ if [ "${TRAVIS_JDK_VERSION}" = openjdk11 ]; then
26
+ mvn coveralls:report -DrepoToken=${COVERALLS_TOKEN}
27
+ fi
Original file line number Diff line number Diff line change
1
+ [ ![ Coverage Status] [ coveralls-badge ]] [ coveralls-page ]
2
+
3
+ [ coveralls-badge ] : https://coveralls.io/repos/github/tarantool/tarantool-java/badge.svg?branch=connector-1.8.jdbc
4
+ [ coveralls-page ] : https://coveralls.io/github/tarantool/tarantool-java?branch=connector-1.8.jdbc
1
5
2
6
First you should add snaphost repository and dependency to your pom file
3
7
``` xml
Original file line number Diff line number Diff line change 63
63
</execution >
64
64
</executions >
65
65
</plugin >
66
+ <plugin >
67
+ <groupId >org.jacoco</groupId >
68
+ <artifactId >jacoco-maven-plugin</artifactId >
69
+ <version >0.8.2</version >
70
+ <executions >
71
+ <execution >
72
+ <id >prepare-agent</id >
73
+ <goals >
74
+ <goal >prepare-agent</goal >
75
+ </goals >
76
+ </execution >
77
+ </executions >
78
+ </plugin >
79
+ <plugin >
80
+ <groupId >org.eluder.coveralls</groupId >
81
+ <artifactId >coveralls-maven-plugin</artifactId >
82
+ <version >4.3.0</version >
83
+ <dependencies >
84
+ <!-- Support reporting to coveralls on Java 9. -->
85
+ <!-- https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
86
+ <dependency >
87
+ <groupId >javax.xml.bind</groupId >
88
+ <artifactId >jaxb-api</artifactId >
89
+ <version >2.3.1</version >
90
+ </dependency >
91
+ </dependencies >
92
+ </plugin >
66
93
</plugins >
67
94
</build >
68
95
You can’t perform that action at this time.
0 commit comments