diff options
author | David Gageot <david@gageot.net> | 2015-06-29 18:24:02 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2015-06-29 18:24:02 +0200 |
commit | 6ce3bfc766e7aebbd710ecc7268ca8b4784af360 (patch) | |
tree | 7b2bd750df2c2ae3d0cbb6f59980586ef9ce72fa /travis.sh | |
parent | 3b357add6f46535d50fab2cd0be94db44d169b7d (diff) | |
download | sonarqube-6ce3bfc766e7aebbd710ecc7268ca8b4784af360.tar.gz sonarqube-6ce3bfc766e7aebbd710ecc7268ca8b4784af360.zip |
More test categories
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/travis.sh b/travis.sh index 27fc206326e..811d1c904d7 100755 --- a/travis.sh +++ b/travis.sh @@ -48,13 +48,32 @@ PRANALYSIS) fi ;; -ITS) +ITS_QUALITYGATE) unset GEM_PATH GEM_HOME RAILS_ENV export DISPLAY=:99.0 sh -e /etc/init.d/xvfb start - mvn install -Pit -DskipTests -Dsonar.runtimeVersion=DEV -Dorchestrator.configUrl=file://$(pwd)/it/orchestrator.properties -Dmaven.test.redirectTestOutputToFile=false + mvn install -Pit -DskipTests -Dsonar.runtimeVersion=DEV -Dorchestrator.configUrl=file://$(pwd)/it/orchestrator.properties -Dcategory=qualitygate + ;; + +ITS_UPDATECENTER) + unset GEM_PATH GEM_HOME RAILS_ENV + + export DISPLAY=:99.0 + sh -e /etc/init.d/xvfb start + + mvn install -Pit -DskipTests -Dsonar.runtimeVersion=DEV -Dorchestrator.configUrl=file://$(pwd)/it/orchestrator.properties -Dcategory=updatecenter + ;; + + +ITS_TESTING) + unset GEM_PATH GEM_HOME RAILS_ENV + + export DISPLAY=:99.0 + sh -e /etc/init.d/xvfb start + + mvn install -Pit -DskipTests -Dsonar.runtimeVersion=DEV -Dorchestrator.configUrl=file://$(pwd)/it/orchestrator.properties -Dcategory=testing ;; *) |