forked from jbake-org/jbake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (54 loc) · 1.31 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
66
67
68
69
language: java
os: linux
dist: trusty
addons:
hosts:
- jbake-builder
hostname: jbake-builder
before_install:
- unset _JAVA_OPTIONS
install: true
script:
- "./gradlew check -i"
after_failure:
- "./gradlew clean check -debug --stacktrace"
after_success:
- "./gradlew -PskipSigning jacocoRootReport coveralls || ./gradlew clean"
jdk:
- openjdk11
- openjdk10
- oraclejdk9
- oraclejdk8
- openjdk8
jobs:
include:
- script: "./gradlew check"
jdk: openjdk7
dist: precise
- script: "./gradlew check"
jdk:
os: osx
- stage: Quality Check
jdk: oraclejdk8
script:
- "./gradlew jacocoRootReport"
after_success:
- "./gradlew sonarqube -i --stacktrace"
notifications:
irc: "irc.freenode.org#jbake"
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"