diff options
-rw-r--r-- | .travis.yml | 6 | ||||
-rwxr-xr-x | travis.sh | 23 |
2 files changed, 25 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 0a4220bb4cb..e3c6a753e21 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,9 @@ jdk: - oraclejdk8 env: - - JOB=ITS + - JOB=ITS_QUALITYGATE + - JOB=ITS_UPDATECENTER + - JOB=ITS_TESTING script: - ./travis.sh @@ -21,4 +23,4 @@ before_cache: notifications: email: false -after_failure: find . -name "*-output.txt" | xargs cat
\ No newline at end of file +after_failure: find . -name "*-output.txt" | xargs cat 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 ;; *) |