forked from ben-manes/caffeine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (36 loc) · 841 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
41
42
43
language: java
sudo: required
jdk:
- oraclejdk8
- oraclejdk9
env:
global:
- TERM=dumb
matrix:
- GROUP=analysis
- GROUP=tests
install: true
script:
- ./travis.sh $GROUP
matrix:
allow_failures:
- jdk: oraclejdk9
fast_finish: true
addons:
apt:
packages:
- oracle-java8-installer
- oracle-java9-installer
sonarcloud:
organization: caffeine
token:
secure: "D40GIdgUfGx75Yso8Zjo/E0dIsW9KDDyId5wbBNuozMkxJcS2qOIK1+Ia3GPHKSvkeSQJ/1wVyl3TGJunGZB/dLoZvrqtKwaLCOa/9TZA1+Uc80W88uvaZ5yhoZP4vCQV3ka+2eRBBYUzYUptK0qdpJxWRyAmPFvOqtnHmDYgb4="
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.m2
- $HOME/.sonar/cache
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/