File tree Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Expand file tree Collapse file tree 3 files changed +40
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ branches:
2929 except :
3030 - /^[0-9]/
3131
32+ after_success :
33+ - mvn jacoco:report coveralls:report
34+
3235env :
3336 global :
3437 # Ex. travis encrypt -r org/repo GH_TOKEN=XXX-https://github.com/settings/tokens-XXX
Original file line number Diff line number Diff line change 4343 </execution >
4444 </executions >
4545 </plugin >
46- </plugins >
46+ <plugin >
47+ <groupId >org.eluder.coveralls</groupId >
48+ <artifactId >coveralls-maven-plugin</artifactId >
49+ <configuration >
50+ <skip >true</skip >
51+ </configuration >
52+ </plugin >
53+ </plugins >
4754 </build >
4855
4956</project >
Original file line number Diff line number Diff line change 6666 <version .maven-javadoc-plugin>2.10.4</version .maven-javadoc-plugin>
6767 <version .io.takari-maven>0.3.4</version .io.takari-maven>
6868 <version .io.zikin.centralsync-maven-plugin>0.1.0</version .io.zikin.centralsync-maven-plugin>
69+
70+ <version .coveralls-maven-plugin>4.3.0</version .coveralls-maven-plugin>
71+ <version .jacoco-maven-plugin>0.7.9</version .jacoco-maven-plugin>
6972 </properties >
7073
7174 <modules >
255258 <exclude >**/Scribble.g</exclude >
256259 <exclude >**/Scribble-0.3.original</exclude >
257260 <exclude >**/IGNORE</exclude >
261+ <exclude >.coveralls.yml</exclude >
258262 </excludes >
259263 </configuration >
260264 <executions >
286290 <packageName >scribble-java</packageName >
287291 </configuration >
288292 </plugin >
293+
294+ <plugin >
295+ <groupId >org.eluder.coveralls</groupId >
296+ <artifactId >coveralls-maven-plugin</artifactId >
297+ <version >${version.coveralls-maven-plugin} </version >
298+ <configuration >
299+ <sourceEncoding >UTF-8</sourceEncoding >
300+ <sourceDirectories >
301+ <sourceDirectory >${project.basedir} /modules/parser/target/generated-sources/antlr3</sourceDirectory >
302+ </sourceDirectories >
303+ </configuration >
304+ </plugin >
305+ <plugin >
306+ <groupId >org.jacoco</groupId >
307+ <artifactId >jacoco-maven-plugin</artifactId >
308+ <version >${version.jacoco-maven-plugin} </version >
309+ <executions >
310+ <execution >
311+ <id >prepare-agent</id >
312+ <goals >
313+ <goal >prepare-agent</goal >
314+ </goals >
315+ </execution >
316+ </executions >
317+ </plugin >
289318 </plugins >
290319 </build >
291320
You can’t perform that action at this time.
0 commit comments