You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2016/11/16 06:44:14 UTC
commons-compress git commit: Enable TravisCI.
Repository: commons-compress
Updated Branches:
refs/heads/master 350f01c78 -> db8bdf62d
Enable TravisCI.
Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/db8bdf62
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/db8bdf62
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/db8bdf62
Branch: refs/heads/master
Commit: db8bdf62de779f4a09bf990ef3be7d7e51c2d64f
Parents: 350f01c
Author: Gary Gregory <gg...@apache.org>
Authored: Tue Nov 15 22:44:12 2016 -0800
Committer: Gary Gregory <gg...@apache.org>
Committed: Tue Nov 15 22:44:12 2016 -0800
----------------------------------------------------------------------
.travis.yml | 24 ++++++++++++++++++++++++
pom.xml | 30 +++++++++++++++++++++++++++++-
2 files changed, 53 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/db8bdf62/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..c1335bd
--- /dev/null
+++ b/.travis.yml
@@ -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
http://git-wip-us.apache.org/repos/asf/commons-compress/blob/db8bdf62/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9bed784..6d68c5c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
- <version>40</version>
+ <version>41</version>
</parent>
<groupId>org.apache.commons</groupId>
@@ -379,6 +379,34 @@ jar, tar, zip, dump, 7z, arj.
</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>4.3.0</version>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>