forked from testng-team/testng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (34 loc) · 809 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
dist: trusty
sudo: required
language: java
env:
global:
- GRADLE_OPTS=-Xmx512m
- CI=true
before_install:
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
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/
matrix:
fast_finish: true
allow_failures:
- env: JDK='Oracle JDK 9'
include:
- env: JDK='OpenJDK 8'
jdk: openjdk8
- env: JDK='Oracle JDK 8'
jdk: oraclejdk8
- env: JDK='Oracle JDK 9'
jdk: oraclejdk9
- env: JDK='OpenJDK 9'
install: . ./install-jdk.sh -F 9
script:
- ./gradlew check --stacktrace --scan
after_success:
- ./travis.sh deploy
- ./travis.sh sonarqube