Skip to content

Commit

Permalink
speed up travis and use enable-jacoco profile (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
jetersen authored and olamy committed Oct 30, 2018
1 parent 16867b7 commit b67133a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
11 changes: 10 additions & 1 deletion .travis.yml
Expand Up @@ -5,6 +5,15 @@ sudo: false
jdk:
- openjdk8

install:
- mvn clean test-compile -DskipTests=true -Dmaven.javadoc.skip=true --batch-mode -V
script:
- mvn -P enable-jacoco install jacoco:report --batch-mode
after_success:
- mvn clean test jacoco:report coveralls:report
- mvn coveralls:report --batch-mode

before_cache:
- rm -fr $HOME/.m2/repository/org/jenkins-ci/plugins/jira
cache:
directories:
- $HOME/.m2
15 changes: 1 addition & 14 deletions pom.xml
Expand Up @@ -121,20 +121,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.1</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<excludes>
<exclude>hudson/plugins/jira/Messages*.class</exclude>
</excludes>
</configuration>
</execution>
</executions>
<version>0.8.2</version>
</plugin>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
Expand Down

0 comments on commit b67133a

Please sign in to comment.