-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
54 lines (42 loc) · 3.74 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
os: linux
sudo: false
dist: trusty
language: java
jdk: oraclejdk11
notifications:
webhooks:
urls:
- "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MHN1bnllJTNBbWF0cml4Lm9yZy8lMjFPRkdWd3V4SnBuaGd5RkFGZ0UlM0FtYXRyaXgub3Jn"
on_success: always # always|never|change
on_failure: always
on_start: always
addons:
sonarcloud:
organization: "atlanmod"
token:
secure: "pzEHyYTQ/ZsmSEAng5bIsbsm8kheav+xnS+qlfsdEnkzNaoTgTdE7PrQ61tGdxrA78Avd6xIvANk+gW/GqCoxAsm0I3y9t+HVohaHfqPbR0NCSloZW5K5HG6jB2J36ffsMNIYbQAVn2KKACMxncxa8/0dF+lFqWGAwpZdwnzWRMLUqFh1lF1QLs1qWNlruzQDP5HB4wfVyV4yeAdHwcTZKz6o/PQqY0Rqo5CUljVeSA0K4mbV7wkrVlwXod+6Jfqhk5eaLiiSJQEPlF/VwGy5eaaDSycTKfgJu+4OrDN4WbEaimoa1J9cR7rUi9mp+L6mmECe5XWW40q0cPkR7ITsxR3Kwfz/67wESWW+JEimk8y9X9Vr5D6h/R4baF7pnXxHq+4vK9vdZOc5gNzSYd9ALORk8F9noyKfKwbytdM6dy7ML+7Uz5DBe9HlS0jvCqNYl0KoX+FQRkuPClbDMO+Qs29JwsTt3m8v10mL9D2UMKzKKIvMwZeNkU3bCAiX+JldSsBtqu/Wli8DAhhULuYls5WDT/wMfAidtkRXhqDkjN3Epj8U6Y4OHRWOD+HyNbZVd0Sxx04qncz+9T9OgTNMupyzGCUrDtbZwassDS1L4TBPZR1FwVsHlqm9zthCb1KyGqO1maZkABS990Glj/P51LB8mJ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ository'
- '$HOME/.sonar/cache'
install:
# Resolve all dependencies
- mvn -B -V -q -DskipTests install
script:
# Build and test with code coverage
- mvn -B jacoco:prepare-agent test jacoco:report jacoco:report-aggregate package sonar:sonar
after_success:
# Publish code coverage in CodeCov
- bash <(curl -s https://codecov.io/bash)
# Deploy snapshot in Maven central
- bash .util/deploy_snapshot.sh
# Publish Javadoc in Github
- bash .util/publish_javadoc.sh