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 language: java
before_install: sudo pip install codecov before_install: sudo pip install codecov
script: mvn -Pjacoco test
jdk: jdk:
- oraclejdk7 - oraclejdk7
- openjdk7 - openjdk7

15
pom.xml
View file

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