-
Notifications
You must be signed in to change notification settings - Fork 162
/
.travis.yml
40 lines (31 loc) · 906 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: java
os: linux
dist: trusty
sudo: false
jdk:
- openjdk8
- oraclejdk8
- oraclejdk9
- oraclejdk11
script:
- ./gradlew --scan build -Pjunit4Version=4.10 -PjunitJupiterVersion=5.9.0 -PskipSpotBugs
- ./gradlew --scan build -Pjunit4Version=4.11 -PjunitJupiterVersion=5.9.0 -PskipSpotBugs
- ./gradlew --scan build -Pjunit4Version=4.12 -PjunitJupiterVersion=5.9.0 -PskipSpotBugs
- ./gradlew --scan build
- cd ${TRAVIS_BUILD_DIR}/junit4/
- mvn test
# - ant test
- cd ${TRAVIS_BUILD_DIR}/junit-jupiter/
- mvn test
- cd ${TRAVIS_BUILD_DIR}/junit-jupiter-params/
- mvn test
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
after_success:
- cd ${TRAVIS_BUILD_DIR}
- ./gradlew --scan jacocoRootReport coveralls