diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-11-24 17:42:32 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-11-24 17:42:44 +0100 |
commit | 76b953f99279d1d8eb7e737a4064e5afe4ca17d7 (patch) | |
tree | 47f43b4b0312d40847a000987a7e4b74595429d9 /.travis.yml | |
parent | 6ded2a7f1de31e57f646c067a0fc829a3b0306f2 (diff) | |
download | sonarqube-76b953f99279d1d8eb7e737a4064e5afe4ca17d7.tar.gz sonarqube-76b953f99279d1d8eb7e737a4064e5afe4ca17d7.zip |
Improve travis.sh
- Upgrade to travis-utils v21
- Merge PR analysis with CI
- rename variables
- execute IT category "plugins" if PR from same repo
- fail if unknown $TARGET
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml index c09504454c1..51db84b6e04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,23 +5,24 @@ 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 + - TARGET=CI + - TARGET=POSTGRES + - TARGET=MYSQL + - TARGET=WEB + - 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 + matrix: fast_finish: true cache: directories: - - '$HOME/.m2/repository' + - $HOME/.m2/repository + - $HOME/.sonar - 'server/sonar-web/node' - 'server/sonar-web/node_modules' |