From: David Gageot Date: Wed, 22 Jul 2015 14:56:55 +0000 (+0200) Subject: Use latest version of travis-utils X-Git-Tag: 2.5-rc1~64 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=60fecd180c232a6b23f7f8a5d46777200561852b;p=sonar-scanner-cli.git Use latest version of travis-utils --- diff --git a/travis.sh b/travis.sh index 87f9bfe..dea7fd5 100755 --- 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