-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
64 lines (61 loc) · 1.63 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
language: java
jdk: oraclejdk9
sudo: required
dist: trusty
git:
depth: 42000
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
- bundler
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
addons:
coverity_scan:
project:
name: "fujaba/NetworkParser"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: "gradle clean"
build_command: "gradle -xTest -xJavadoc"
branch_pattern: master
#srcclr: true
sonarcloud:
organization: "Fujaba"
token:
secure: 2921049ca4f9759b8fe14243f11849830fd23237
branches:
- master
before_script:
- sudo service postgresql stop || true
- sudo service mysql stop || true
- sudo service memcached stop || true
- sudo service bootlogd stop || true
- sudo service elasticsearch stop || true
- sudo service mongodb stop || true
- sudo service neo4j stop || true
- sudo service cassandra stop || true
- sudo service rsync stop || true
- sudo service x11-common stop || true
- unzip -P $SIGNITURE_PASSWORD signiture.zip
before_install:
- chmod +x gradlew
# safelist
branches:
only:
- master
- develop
after_success:
- ./gradlew build uploadArchives jacocoTestReport coveralls
# other script steps might be done before running the actual sonarcloud analysis
- sonar-scanner
after_failure:
- cat build/reports/tests/test/index.html
- cat build/reports/tests/test/classes/Gradle*.html
notifications:
email:
# on_success: change
# on_failure: always