Author: tn Date: Tue Nov 24 09:25:40 2015 New Revision: 1716090 URL: http://svn.apache.org/viewvc?rev=1716090&view=rev Log: Add travis configuration for jacoco and coveralls. Add badges to Readme.md.
Modified: commons/proper/collections/trunk/.travis.yml commons/proper/collections/trunk/README.md commons/proper/collections/trunk/pom.xml Modified: commons/proper/collections/trunk/.travis.yml URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/.travis.yml?rev=1716090&r1=1716089&r2=1716090&view=diff ============================================================================== --- commons/proper/collections/trunk/.travis.yml (original) +++ commons/proper/collections/trunk/.travis.yml Tue Nov 24 09:25:40 2015 @@ -5,3 +5,6 @@ jdk: - openjdk6 - openjdk7 - oraclejdk8 + +after_success: + - mvn clean test jacoco:report coveralls:report Modified: commons/proper/collections/trunk/README.md URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/README.md?rev=1716090&r1=1716089&r2=1716090&view=diff ============================================================================== --- commons/proper/collections/trunk/README.md (original) +++ commons/proper/collections/trunk/README.md Tue Nov 24 09:25:40 2015 @@ -43,6 +43,11 @@ Apache Commons Collections =================== +[](https://travis-ci.org/apache/commons-collections) +[](https://coveralls.io/r/apache/commons-collections) +[](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-collections4/) +[](http://www.apache.org/licenses/LICENSE-2.0.html) + The Apache Commons Collections package contains types that extend and augment the Java Collections Framework. Documentation Modified: commons/proper/collections/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/pom.xml?rev=1716090&r1=1716089&r2=1716090&view=diff ============================================================================== --- commons/proper/collections/trunk/pom.xml (original) +++ commons/proper/collections/trunk/pom.xml Tue Nov 24 09:25:40 2015 @@ -690,6 +690,38 @@ </plugins> </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>prepare-agent</id> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.eluder.coveralls</groupId> + <artifactId>coveralls-maven-plugin</artifactId> + <version>3.1.0</version> + </plugin> + </plugins> + </build> + </profile> </profiles> </project>