blob: c4d53d67376e932590a5c856bd669b8629ec8c89 (
plain)
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
|
language: java
sudo: false
install: true
jdk: oraclejdk7
script: ./travis.sh
#env:
# - TARGET=CI
# - TARGET=IT IT_CATEGORY=Category1
# - TARGET=IT IT_CATEGORY=Category2
# - TARGET=IT IT_CATEGORY=Category3
# - TARGET=IT IT_CATEGORY=Category4
# - TARGET=IT IT_CATEGORY=Plugins
# - TARGET=POSTGRES
# - TARGET=MYSQL
# - TARGET=WEB
matrix:
fast_finish: true
cache:
directories:
- $HOME/.m2/repository
- $HOME/.sonar
- 'server/sonar-web/node'
- 'server/sonar-web/node_modules'
before_cache:
- 'find $HOME/.m2/repository -type d -name \*-SNAPSHOT -exec rm -rf {} \;'
- 'find $HOME/.m2/repository -name maven-metadata-\* -exec rm {} \;'
- 'find $HOME/.m2/repository -name resolver-status.properties -exec rm {} \;'
# remove all the artifacts (JAR, ZIP) that are installed in local repo because of mvn deploy
- rm -rf $HOME/.m2/repository/org/sonarsource/sonarqube
notifications:
email: false
webhooks:
- secure: "UsCLBZ1wEQkEPhlIETa8127r+/e+p0NFQR2f6XxvpDdyogQsgsmdz5nOjdttrWItbNNPGyZu+d/W6a/BckpS+hZBgbGbnwKe2Ht6VVIWvhDgcyXpM19CQqfXQVaGpnLTDwXy4ajases1aqsvGaUrljII74phkij/AhnIURxH/FY="
|