Only run jacoco on Travis builds

This commit is contained in:
Sean Owen 2014-10-07 17:58:59 +01:00
parent 79bd5f585e
commit 1773520808
2 changed files with 12 additions and 4 deletions

View file

@ -1,5 +1,6 @@
language: java
before_install: sudo pip install codecov
script: mvn -Pjacoco test
jdk:
- oraclejdk7
- openjdk7

15
pom.xml
View file

@ -141,10 +141,6 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
<pluginManagement>
<plugins>
@ -662,6 +658,17 @@
</plugins>
</build>
</profile>
<profile>
<id>jacoco</id>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>