]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
Use latest version of travis-utils
authorDavid Gageot <david@gageot.net>
Wed, 22 Jul 2015 14:56:55 +0000 (16:56 +0200)
committerDavid Gageot <david@gageot.net>
Wed, 22 Jul 2015 14:58:01 +0000 (16:58 +0200)
travis.sh

index 87f9bfe23244c563bc5f025db03a53f6b71a104a..dea7fd5d08ebeec65dea350ffaa347e1c8cf769b 100755 (executable)
--- a/travis.sh
+++ b/travis.sh
@@ -3,23 +3,28 @@
 set -euo pipefail
 
 function installTravisTools {
-  curl -sSL https://raw.githubusercontent.com/sonarsource/travis-utils/v12/install.sh | bash
+  curl -sSL https://raw.githubusercontent.com/sonarsource/travis-utils/v13/install.sh | bash
   source /tmp/travis-utils/env.sh
 }
 
+function buildSnapshotDependencies {
+  travis_build "SonarSource/sonar-orchestrator" "0fe60edd0978300334ecc9101e4c10bcb05516d0"
+  travis_build_green "SonarSource/sonarqube" "master"
+}
+
 case "$TESTS" in
 
 CI)
   installTravisTools
+  buildSnapshotDependencies
 
-  travis_build_green "SonarSource/sonarqube" "master"
   mvn verify -B -e -V
   ;;
 
 IT-DEV)
   installTravisTools
+  buildSnapshotDependencies
 
-  travis_build_green "SonarSource/sonarqube" "master"
   mvn install -Dsource.skip=true -Denforcer.skip=true -Danimal.sniffer.skip=true -Dmaven.test.skip=true
 
   cd it