diff options
author | David Gageot <david@gageot.net> | 2015-07-22 16:56:55 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2015-07-22 16:58:01 +0200 |
commit | 60fecd180c232a6b23f7f8a5d46777200561852b (patch) | |
tree | 910ab43349ce32b18d768f9d7222a645c01aff7a /travis.sh | |
parent | 8f24a793edf5c7e4d8364981a70e25a7161d6fcc (diff) | |
download | sonar-scanner-cli-60fecd180c232a6b23f7f8a5d46777200561852b.tar.gz sonar-scanner-cli-60fecd180c232a6b23f7f8a5d46777200561852b.zip |
Use latest version of travis-utils
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 |