forked from SonarSource/sonar-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (34 loc) · 1.19 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
language: java
sudo: false
git:
submodules: false
install: true
jdk: openjdk11
script: "./travis.sh"
env:
- TEST=CI
matrix:
fast_finish: true
before_cache:
# remove all the artifacts that are installed in local repo because of mvn deploy
- rm -rf $HOME/.m2/repository/org/sonarsource/java
- find $HOME/.m2 -name resolver-status.properties -exec rm {} \;
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar'
- '$HOME/jvm'
- '$HOME/maven'
notifications:
email: false
hipchat:
rooms:
secure: eZCNoMOh1nR+aTJsnroK7DWHgurwtQoOunNeC0pIAURne4Y7Rlztcn2uOGgqCzSZfn0ucV8Z7RSMp2ANOW7tiAYoF86/an/JoP5wnEyLo3aQFg6Dakw5gdFBfnQpVMatNAVgJDVcqhsjCR0WJy6vo0Re8y1Cm1409hJb+lCjhsM=
template:
- '<a href="%{build_url}">SonarJava#%{build_number}</a> - <a href="https://github.com/%{repository_slug}/tree/%{branch}">%{branch}</a> - <a href="%{compare_url}">%{commit}</a> %{commit_message} by %{author}'
format: html
notify: true
webhooks:
urls:
- secure: jioMmc06IBRAgbWiyUP8T0ZsWPn+QhAf/UoGocYo5la20RMMb0M5A5Lpl7yvyGFv+PmC2SIlG3FHf61nRvHNaq1zSWGwOgmGZUrhz/tCD3caSB+BJoba46pcYL/W/V7X2nXMzhJiCbU3U4JoGwVUYqt3Ug1Jl/oLBk2IUp2U0zg=
on_start: always