-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
44 lines (37 loc) · 1.04 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
language: java
jdk: oraclejdk8
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/
- $HOME/.sonar/cache
- $HOME/.cache
- $HOME/.m2
addons:
sonarcloud:
organization: "jukusoft"
#jukusoft, juku-github
#don't do a shallow clone (for sonarqube)
git:
depth: 9999999
script:
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
# - mvn clean verify
# - mvn clean install
- mvn -e clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.login=${SONAR_TOKEN}
# - mvn cobertura:cobertura
notifications:
email: false
webhooks:
urls:
# Telegram Bot (https://github.com/kvld/travisci-telegram)
- "https://fathomless-fjord-24024.herokuapp.com/notify"
on_success: always # always|never|change
on_failure: always
on_start: never
#notifications:
# email: false
# webhooks: https://fathomless-fjord-24024.herokuapp.com/notify