aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2015-07-24 14:26:00 +0200
committerDavid Gageot <david@gageot.net>2015-07-24 14:26:33 +0200
commita2b8cbaa2d582a17b9e07b02a6d7b84e68c08307 (patch)
tree005410834d471b125e786b5530069be07e170c18 /travis.sh
parentf70c3946f098aafec8082b6dccdc7ac6040c2d29 (diff)
downloadsonar-scanner-cli-a2b8cbaa2d582a17b9e07b02a6d7b84e68c08307.tar.gz
sonar-scanner-cli-a2b8cbaa2d582a17b9e07b02a6d7b84e68c08307.zip
Use travis-utils v15
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/travis.sh b/travis.sh
index 22409ea..20418b5 100755
--- a/travis.sh
+++ b/travis.sh
@@ -3,8 +3,9 @@
set -euo pipefail
function installTravisTools {
- curl -sSL https://raw.githubusercontent.com/sonarsource/travis-utils/v14/install.sh | bash
- source /tmp/travis-utils/env.sh
+ mkdir ~/.local
+ curl -sSL https://github.com/SonarSource/travis-utils/tarball/v15 | tar zx --strip-components 1 -C ~/.local
+ source ~/.local/bin/install
}
case "$TESTS" in
@@ -12,7 +13,7 @@ case "$TESTS" in
CI)
installTravisTools
- travis_build_green "SonarSource/sonarqube" "master"
+ build_snapshot "SonarSource/sonarqube"
mvn verify -B -e -V
;;
@@ -20,7 +21,7 @@ CI)
IT-DEV)
installTravisTools
- travis_build_green "SonarSource/sonarqube" "master"
+ build_snapshot "SonarSource/sonarqube"
mvn install -Dsource.skip=true -Denforcer.skip=true -Danimal.sniffer.skip=true -Dmaven.test.skip=true