Actually, it does not work yet, as I can not enable commons-collections on
travis.

I already sent an email to them, but did not get an answer yet. How did you
manage to do it for commons-lang?

Thomas

On Tue, Nov 24, 2015 at 5:36 PM, Benedikt Ritter <brit...@apache.org> wrote:

> Nice!
>
> 2015-11-24 10:25 GMT+01:00 <t...@apache.org>:
>
> > 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
> >  ===================
> >
> > +[![Build Status](
> >
> https://travis-ci.org/apache/commons-collections.svg?branch=master)](https://travis-ci.org/apache/commons-collections
> > )
> > +[![Coverage Status](
> >
> https://coveralls.io/repos/apache/commons-collections/badge.svg?branch=master)](https://coveralls.io/r/apache/commons-collections
> > )
> > +[![Maven Central](
> >
> https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-collections4/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-collections4/
> > )
> > +[![License](
> >
> http://img.shields.io/:license-apache-blue.svg)](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>
> >
> >
> >
>
>
> --
> http://people.apache.org/~britter/
> http://www.systemoutprintln.de/
> http://twitter.com/BenediktRitter
> http://github.com/britter
>

Reply via email to