aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2015-06-29 18:30:32 +0200
committerDavid Gageot <david@gageot.net>2015-06-29 18:30:32 +0200
commite65cd444d5afbba9c2ac3ac70c2b826af415f45e (patch)
tree70750c10d8b5a78dd8a92c4a5a8f58bd541b0480 /travis.sh
parent6ce3bfc766e7aebbd710ecc7268ca8b4784af360 (diff)
downloadsonarqube-e65cd444d5afbba9c2ac3ac70c2b826af415f45e.tar.gz
sonarqube-e65cd444d5afbba9c2ac3ac70c2b826af415f45e.zip
Use TravisUtils
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh21
1 files changed, 6 insertions, 15 deletions
diff --git a/travis.sh b/travis.sh
index 811d1c904d7..a5fb236405a 100755
--- a/travis.sh
+++ b/travis.sh
@@ -49,31 +49,22 @@ PRANALYSIS)
;;
ITS_QUALITYGATE)
- unset GEM_PATH GEM_HOME RAILS_ENV
+ installTravisTools
- 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=qualitygate
+ sonarqube_its "qualitygate"
;;
ITS_UPDATECENTER)
- unset GEM_PATH GEM_HOME RAILS_ENV
-
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
+ installTravisTools
- mvn install -Pit -DskipTests -Dsonar.runtimeVersion=DEV -Dorchestrator.configUrl=file://$(pwd)/it/orchestrator.properties -Dcategory=updatecenter
+ sonarqube_its "updatecenter"
;;
ITS_TESTING)
- unset GEM_PATH GEM_HOME RAILS_ENV
-
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
+ installTravisTools
- mvn install -Pit -DskipTests -Dsonar.runtimeVersion=DEV -Dorchestrator.configUrl=file://$(pwd)/it/orchestrator.properties -Dcategory=testing
+ sonarqube_its "testing"
;;
*)