summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: c09504454c1cddda9fc4f8006c0022d22aed6977 (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
language: java
sudo: false
install: true
jdk: oraclejdk7
script: ./travis.sh

env:
  - JOB=H2
  - JOB=POSTGRES
  - JOB=MYSQL
  - JOB=WEB
  - JOB=ITS IT_CATEGORY=Category1
  - JOB=ITS IT_CATEGORY=Category2
  - JOB=ITS IT_CATEGORY=Category3
  - JOB=ITS IT_CATEGORY=Category4
  - JOB=ITS IT_CATEGORY=Plugins
  - JOB=PULL_REQUEST_ANALYSIS

matrix:
  fast_finish: true

cache:
  directories:
    - '$HOME/.m2/repository'
    - 'server/sonar-web/node'
    - 'server/sonar-web/node_modules'

before_cache:
  - 'find ~/.m2/repository -type d -name \*-SNAPSHOT -exec rm -rf {} \;'
  - 'find ~/.m2/repository -name maven-metadata-\* -exec rm {} \;'
  - 'find ~/.m2/repository -name resolver-status.properties -exec rm {} \;'

notifications:
  email: false