commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1769945 - in /commons/proper/codec/trunk: .travis.yml pom.xml
Date Wed, 16 Nov 2016 08:56:50 GMT
Author: ggregory
Date: Wed Nov 16 08:56:50 2016
New Revision: 1769945

URL: http://svn.apache.org/viewvc?rev=1769945&view=rev
Log:
Travis.

Added:
    commons/proper/codec/trunk/.travis.yml
Modified:
    commons/proper/codec/trunk/pom.xml

Added: commons/proper/codec/trunk/.travis.yml
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/.travis.yml?rev=1769945&view=auto
==============================================================================
--- commons/proper/codec/trunk/.travis.yml (added)
+++ commons/proper/codec/trunk/.travis.yml Wed Nov 16 08:56:50 2016
@@ -0,0 +1,24 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+language: java
+sudo: false
+
+jdk:
+  - openjdk7
+  - oraclejdk8
+
+after_success:
+  - mvn clean cobertura:cobertura coveralls:report

Modified: commons/proper/codec/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/pom.xml?rev=1769945&r1=1769944&r2=1769945&view=diff
==============================================================================
--- commons/proper/codec/trunk/pom.xml (original)
+++ commons/proper/codec/trunk/pom.xml Wed Nov 16 08:56:50 2016
@@ -438,4 +438,34 @@ limitations under the License.
       </plugin>
     </plugins>
   </reporting>
+  <profiles>
+    <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>4.3.0</version>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>



Mime
View raw message