-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
47 lines (37 loc) · 1.33 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
language: java
env:
JAVA_OPTS="-Xmx2g -Dfile.encoding=UTF-8"
jdk:
- oraclejdk8
os:
- linux
dist: trusty
git:
depth: false
install: ./gradlew --refresh-dependencies --stacktrace clean assemble testClasses
script: ./gradlew --stacktrace build jacocoTestReport
after_success: bash <(curl -s https://codecov.io/bash)
notifications:
email: false
webhooks: $TEAMS_WEBHOOK
on_success: change
on_failure: change
before_cache:
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
- rm -f $HOME/.gradle/caches/*/fileContent/fileContent.lock
- rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.lock
- rm -f $HOME/.gradle/caches/*/javaCompile/javaCompile.lock
- rm -f $HOME/.gradle/caches/journal-1/file-access.bin
- rm -f $HOME/.gradle/caches/journal-1/journal-1.lock
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -f $HOME/.gradle/caches/modules-2/metadata-2.96/module-artifact.bin
- rm -f $HOME/.gradle/caches/modules-2/metadata-2.96/module-artifacts.bin
- rm -f $HOME/.gradle/caches/modules-2/metadata-2.96/module-metadata.bin
- rm -f $HOME/.gradle/caches/modules-2/metadata-2.96/module-versions.bin
- rm -f $HOME/.gradle/caches/modules-2/metadata-2.96/resource-at-url.bin
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.jabba/jdk
- $HOME/.tests/