travis: remove travis profile from pom and use travis-jacoco profile commons-parent

This commit is contained in:
pascalschumacher 2017-10-02 11:24:41 +02:00
parent afebe421ea
commit 6f35633878
2 changed files with 1 additions and 39 deletions

View File

@ -24,4 +24,4 @@ script:
- mvn
after_success:
- mvn clean test jacoco:report coveralls:report
- mvn clean test jacoco:report coveralls:report -Ptravis-jacoco

38
pom.xml
View File

@ -509,9 +509,6 @@
<!-- Override clirr version to enable clirr on Java 8 -->
<commons.clirr.version>2.8</commons.clirr.version>
<!-- Override default buildNumber timestamp format, needed for coveralls plugin -->
<maven.buildNumber.timestampFormat>{0,date,yyyy-MM-dd HH:mm:ssZ}</maven.buildNumber.timestampFormat>
</properties>
@ -720,41 +717,6 @@
</plugins>
</build>
</profile>
<profile>
<id>travis</id>
<activation>
<property>
<name>env.TRAVIS</name>
<value>true</value>
</property>
</activation>
<properties>
<buildnumber.skip>true</buildnumber.skip>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${commons.jacoco.version}</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>4.3.0</version>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>