Skip to content

Commit

Permalink
Should be adding coverage to the Java code
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnybazookatone committed Apr 17, 2015
1 parent ecfaaf9 commit b5905dc
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ before_script:
script:
- coverage run -p --source=. tests/test_unit/test.py
- tests/integration_test.sh
- mvn test
- mvn test -DdryRun=true -DcoverallsFile=java_coverage.json jacoco:report coveralls:report
after_success:
- coverage combine
- coveralls
- coveralls --merge=java_coverage.json
23 changes: 23 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,29 @@
</executions>
</plugin>

<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.2.201409121644</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<repoToken>yourcoverallsprojectrepositorytoken</repoToken>
</configuration>
</plugin>

</plugins>

<resources>
Expand Down

0 comments on commit b5905dc

Please sign in to comment.