Skip to content

Commit 949abfb

Browse files
Fix java 6 build on travis:
- install open-jdk6, as it was removed from the default travis image - install a java 6 compatible maven version git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1809449 13f79535-47bb-0310-9956-ffa450edef68
1 parent 8e601f5 commit 949abfb

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,17 @@ jdk:
2121
- openjdk7
2222
- oraclejdk8
2323

24+
addons:
25+
apt:
26+
packages:
27+
- openjdk-6-jdk
28+
29+
# use java 6 compatible maven version (installed into target directory so rat check passes)
30+
before_install:
31+
- wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip -P ./target
32+
- unzip -qq ./target/apache-maven-3.2.5-bin.zip -d ./target
33+
- export M2_HOME=$PWD/target/apache-maven-3.2.5
34+
- export PATH=$M2_HOME/bin:$PATH
35+
2436
after_success:
2537
- mvn clean cobertura:cobertura coveralls:report

0 commit comments

Comments
 (0)