diff options
author | David Gageot <david@gageot.net> | 2015-06-29 12:55:25 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2015-06-29 12:56:01 +0200 |
commit | c4f92d8000bdb6ab092cc116fe8aa63ea8815d05 (patch) | |
tree | ee2db1af4129742b80c6adaa190fe9310221cdd9 /travis.sh | |
parent | c268d01dd4c4486c5044178ad7d878957c3b31e0 (diff) | |
download | sonarqube-c4f92d8000bdb6ab092cc116fe8aa63ea8815d05.tar.gz sonarqube-c4f92d8000bdb6ab092cc116fe8aa63ea8815d05.zip |
Add ITs
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/travis.sh b/travis.sh index aaea11d3906..3fa557f3740 100755 --- a/travis.sh +++ b/travis.sh @@ -32,7 +32,7 @@ MYSQL) ;; PRANALYSIS) - if [ -n "$SONAR_GITHUB_OAUTH" ] && [ "${TRAVIS_PULL_REQUEST}" != "false" ] + if [ -n "$SONAR_GITHUB_OAUTH" ] && [ "${TRAVIS_PULL_REQUEST}" != "false" ] then echo "Start pullrequest analysis" mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent verify sonar:sonar -B -e -V -Dmaven.test.failure.ignore=true -Dclirr=true \ @@ -44,8 +44,16 @@ PRANALYSIS) -Dsonar.github.oauth=$SONAR_GITHUB_OAUTH \ -Dsonar.host.url=$SONAR_HOST_URL \ -Dsonar.login=$SONAR_LOGIN \ - -Dsonar.password=$SONAR_PASSWD - fi + -Dsonar.password=$SONAR_PASSWD + fi + ;; + +ITS) + cd it/it-plugins + mvn install + cd - + + mvn clean verify -Pit -DskipTests -pl :it-tests -am -Dorchestrator.configUrl=file://$(pwd)/it/orchestrator.properties -Dsonar.runtimeVersion=DEV ;; *) |