You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2015/04/08 20:36:36 UTC

svn commit: r1672135 - in /commons/proper/lang/trunk: ./ .travis.yml README.md pom.xml

Author: britter
Date: Wed Apr  8 18:36:36 2015
New Revision: 1672135

URL: http://svn.apache.org/r1672135
Log:
Activate Travis CI, coveralls.io and add badges to README.md

Added:
    commons/proper/lang/trunk/.travis.yml
Modified:
    commons/proper/lang/trunk/   (props changed)
    commons/proper/lang/trunk/README.md
    commons/proper/lang/trunk/pom.xml

Propchange: commons/proper/lang/trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed Apr  8 18:36:36 2015
@@ -2,7 +2,9 @@ target
 *.iws
 *.ipr
 *.iml
-.*
+.idea
+.project
+.settings
 *.log
 maven-eclipse.xml
 build.properties

Added: commons/proper/lang/trunk/.travis.yml
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/.travis.yml?rev=1672135&view=auto
==============================================================================
--- commons/proper/lang/trunk/.travis.yml (added)
+++ commons/proper/lang/trunk/.travis.yml Wed Apr  8 18:36:36 2015
@@ -0,0 +1,9 @@
+language: java
+
+jdk:
+  - openjdk6
+  - openjdk7
+  - openjdk8
+
+after_success:
+  - mvn clean cobertura:cobertura coveralls:report
\ No newline at end of file

Modified: commons/proper/lang/trunk/README.md
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/README.md?rev=1672135&r1=1672134&r2=1672135&view=diff
==============================================================================
--- commons/proper/lang/trunk/README.md (original)
+++ commons/proper/lang/trunk/README.md Wed Apr  8 18:36:36 2015
@@ -43,6 +43,11 @@
 Apache Commons Lang
 ===================
 
+[![Build Status](https://travis-ci.org/apache/commons-lang.svg)](https://travis-ci.org/apache/commons-lang)
+[![Coverage Status](https://coveralls.io/repos/apache/commons-lang/badge.svg)](https://coveralls.io/r/apache/commons-lang)
+[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-lang3/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.apache.commons/commons-lang3/)
+[![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
+
 Apache Commons Lang, a package of Java utility classes for the
   classes that are in java.lang's hierarchy, or are considered to be so
   standard as to justify existence in java.lang.

Modified: commons/proper/lang/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/pom.xml?rev=1672135&r1=1672134&r2=1672135&view=diff
==============================================================================
--- commons/proper/lang/trunk/pom.xml (original)
+++ commons/proper/lang/trunk/pom.xml Wed Apr  8 18:36:36 2015
@@ -764,6 +764,35 @@
         </plugins>
       </build>
     </profile>
+
+    <profile>
+      <id>travis</id>
+      <activation>
+        <property>
+          <name>env.TRAVIS</name>
+          <value>true</value>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>cobertura-maven-plugin</artifactId>
+            <version>${commons.cobertura.version}</version>
+            <configuration>
+              <formats>
+                <format>xml</format>
+              </formats>
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.eluder.coveralls</groupId>
+            <artifactId>coveralls-maven-plugin</artifactId>
+            <version>3.1.0</version>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
 </project>