You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2017/10/02 09:07:15 UTC
[text] travis: remove travis profile from pom and use travis-jacoco
profile commons-parent (closes #67)
Repository: commons-text
Updated Branches:
refs/heads/master 1bd8e5441 -> da61665e2
travis: remove travis profile from pom and use travis-jacoco profile commons-parent (closes #67)
Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/da61665e
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/da61665e
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/da61665e
Branch: refs/heads/master
Commit: da61665e2361539c6b29fa6149dc6c9fa213843e
Parents: 1bd8e54
Author: Pascal Schumacher <pa...@gmx.net>
Authored: Sun Oct 1 16:29:26 2017 +0200
Committer: Pascal Schumacher <pa...@gmx.net>
Committed: Mon Oct 2 11:06:53 2017 +0200
----------------------------------------------------------------------
.travis.yml | 2 +-
pom.xml | 74 --------------------------------------------------------
2 files changed, 1 insertion(+), 75 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-text/blob/da61665e/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 6279f56..6e09a29 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,4 +25,4 @@ script:
- mvn
after_success:
- - mvn clean test jacoco:report coveralls:report
+ - mvn clean test jacoco:report coveralls:report -Ptravis-jacoco
http://git-wip-us.apache.org/repos/asf/commons-text/blob/da61665e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1db78a5..a138db5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,9 +46,6 @@
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-text</commons.scmPubUrl>
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
- <!-- Override default buildNumber timestamp format, needed for coveralls plugin -->
- <maven.buildNumber.timestampFormat>{0,date,yyyy-MM-dd HH:mm:ssZ}</maven.buildNumber.timestampFormat>
-
<!-- Use clirr version that works on Java 8 -->
<commons.clirr.version>2.8</commons.clirr.version>
@@ -384,77 +381,6 @@
</build>
</profile>
<profile>
- <id>travis</id>
- <activation>
- <property>
- <name>env.TRAVIS</name>
- <value>true</value>
- </property>
- </activation>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>${commons.jacoco.version}</version>
- <executions>
- <execution>
- <id>default-prepare-agent</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- </execution>
- <execution>
- <id>default-prepare-agent-integration</id>
- <goals>
- <goal>prepare-agent-integration</goal>
- </goals>
- </execution>
- <execution>
- <id>default-report</id>
- <goals>
- <goal>report</goal>
- </goals>
- </execution>
- <execution>
- <id>default-report-integration</id>
- <goals>
- <goal>report-integration</goal>
- </goals>
- </execution>
- <execution>
- <id>default-check</id>
- <goals>
- <goal>check</goal>
- </goals>
- <configuration>
- <rules>
- <!-- implementation is needed only for Maven 2 -->
- <rule implementation="org.jacoco.maven.RuleConfiguration">
- <element>BUNDLE</element>
- <limits>
- <!-- implementation is needed only for Maven 2 -->
- <limit implementation="org.jacoco.report.check.Limit">
- <counter>COMPLEXITY</counter>
- <value>COVEREDRATIO</value>
- <minimum>0.60</minimum>
- </limit>
- </limits>
- </rule>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.eluder.coveralls</groupId>
- <artifactId>coveralls-maven-plugin</artifactId>
- <version>4.3.0</version>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
<id>java9</id>
<activation>
<jdk>9</jdk>