-
Notifications
You must be signed in to change notification settings - Fork 326
/
.travis.yml
65 lines (51 loc) · 1.28 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
language: java
os: linux
dist: focal
addons:
hosts:
- jbake-builder
hostname: jbake-builder
before_install:
- unset _JAVA_OPTIONS
install: true
script:
- "./gradlew check --stacktrace"
jobs:
include:
- jdk: openjdk17
- jdk: openjdk11
- os: osx
osx_image: xcode13.2 # defaults to openjdk17
# below config fails
# - os: osx
# osx_image: xcode9.4
# jdk: openjdk11
# - stage: Quality Check
# name: sonarqube
# jdk: openjdk11
# script:
# - "./gradlew jacocoRootReport sonarqube -i --stacktrace"
#
# - stage: Quality Check
# name: coveralls
# jdk: openjdk11
# script:
# - "./gradlew -PskipSigning jacocoRootReport coveralls -i --stacktrace"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/2d332fabb02dba68a36b
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- "$HOME/.m2/repository"
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
- "$HOME/.sonar/cache"
- ".gradle"
- "build"