Skip to content

Commit 0bbc5bf

Browse files
pci test script java6
pci test script java6
1 parent 0576a08 commit 0bbc5bf

1 file changed

Lines changed: 21 additions & 5 deletions

File tree

.travis.yml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,26 @@
11
language: java
2-
"dist": "precise"
2+
3+
addons:
4+
apt:
5+
packages:
6+
- openjdk-6-jdk
7+
38
jdk:
49
- oraclejdk8
5-
- oraclejdk7
610
- openjdk7
711
- openjdk6
8-
before_install:
9-
# for gh-311 (modify to use the TLSv1.2 on Java 7)
10-
- export _JAVA_OPTIONS=-Dhttps.protocols=TLSv1.1,TLSv1.2
12+
13+
before_install:
14+
- echo "Downloading Maven 3.2.5"
15+
&& wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip
16+
&& unzip -qq apache-maven-3.2.5-bin.zip
17+
&& export M2_HOME=$PWD/apache-maven-3.2.5
18+
&& export PATH=$M2_HOME/bin:$PATH
19+
&& mvn -version
20+
21+
install:
22+
- mvn clean install -Pci-install -B -U -e
23+
- sh ./tools/check_format.sh
24+
25+
script:
26+
- mvn clean package -Pci-test

0 commit comments

Comments
 (0)