-
Notifications
You must be signed in to change notification settings - Fork 42
/
.travis.yml
25 lines (19 loc) · 929 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: java
matrix:
fast_finish: true
before_install:
- wget http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.4-bin.tar.gz
- tar xzf apache-ant-1.9.4-bin.tar.gz
- wget -O jacoco-0.7.5.zip http://search.maven.org/remotecontent?filepath=org/jacoco/jacoco/0.7.5.201505241946/jacoco-0.7.5.201505241946.zip
- unzip -d jacoco-0.7.5 jacoco-0.7.5.zip
addons:
apt:
packages:
- junit4
install: true
script:
- jdk_switcher use oraclejdk8
- apache-ant-1.9.4/bin/ant -Dquarks.build.ci=true -lib /usr/share/java/junit4.jar -lib jacoco-0.7.5/lib clean all test release
- apache-ant-1.9.4/bin/ant -buildfile platform/java7 -Dquarks.build.ci=true -lib /usr/share/java/junit4.jar -lib jacoco-0.7.5/lib test7.setup
- jdk_switcher use oraclejdk7
- apache-ant-1.9.4/bin/ant -buildfile platform/java7 -Dquarks.build.ci=true -lib /usr/share/java/junit4.jar -lib jacoco-0.7.5/lib test7.run