Skip to content

Commit 1491a45

Browse files
committed
Travis.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1769945 13f79535-47bb-0310-9956-ffa450edef68
1 parent eabb914 commit 1491a45

2 files changed

Lines changed: 54 additions & 0 deletions

File tree

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
language: java
17+
sudo: false
18+
19+
jdk:
20+
- openjdk7
21+
- oraclejdk8
22+
23+
after_success:
24+
- mvn clean cobertura:cobertura coveralls:report

pom.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,4 +438,34 @@ limitations under the License.
438438
</plugin>
439439
</plugins>
440440
</reporting>
441+
<profiles>
442+
<profile>
443+
<id>travis</id>
444+
<activation>
445+
<property>
446+
<name>env.TRAVIS</name>
447+
<value>true</value>
448+
</property>
449+
</activation>
450+
<build>
451+
<plugins>
452+
<plugin>
453+
<groupId>org.codehaus.mojo</groupId>
454+
<artifactId>cobertura-maven-plugin</artifactId>
455+
<version>${commons.cobertura.version}</version>
456+
<configuration>
457+
<formats>
458+
<format>xml</format>
459+
</formats>
460+
</configuration>
461+
</plugin>
462+
<plugin>
463+
<groupId>org.eluder.coveralls</groupId>
464+
<artifactId>coveralls-maven-plugin</artifactId>
465+
<version>4.3.0</version>
466+
</plugin>
467+
</plugins>
468+
</build>
469+
</profile>
470+
</profiles>
441471
</project>

0 commit comments

Comments
 (0)