aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-07-08 09:31:43 +0200
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-08-22 18:13:43 +0200
commitd94aa825004f0c8666690da143d466d71b31388d (patch)
treef641dd2aecbe77e9531127bc0ce22cf11c5a80b0
parente0c834ebf18b722009ae5940e98b5916c8bbea71 (diff)
downloadsonarqube-d94aa825004f0c8666690da143d466d71b31388d.tar.gz
sonarqube-d94aa825004f0c8666690da143d466d71b31388d.zip
upgrade travis-utils to v31 (#1088)
-rwxr-xr-xtravis.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/travis.sh b/travis.sh
index 74820c6fae8..12612d854f1 100755
--- a/travis.sh
+++ b/travis.sh
@@ -4,7 +4,7 @@ set -euo pipefail
function configureTravis {
mkdir ~/.local
- curl -sSL https://github.com/SonarSource/travis-utils/tarball/v25 | tar zx --strip-components 1 -C ~/.local
+ curl -sSL https://github.com/SonarSource/travis-utils/tarball/v31 | tar zx --strip-components 1 -C ~/.local
source ~/.local/bin/install
}
configureTravis
@@ -37,7 +37,7 @@ CI)
if [[ $CURRENT_VERSION =~ "-SNAPSHOT" ]]; then
echo "======= Found SNAPSHOT version ======="
# Do not deploy a SNAPSHOT version but the release version related to this build
- set_maven_build_version $TRAVIS_BUILD_NUMBER
+ set_maven_build_version $TRAVIS_BUILD_NUMBER
else
echo "======= Found RELEASE version ======="
fi
@@ -45,9 +45,9 @@ CI)
# analysis is currently executed by SonarSource internal infrastructure
mvn deploy \
-Pdeploy-sonarsource \
- -B -e -V
+ -B -e -V
+
-
elif [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ -n "${GITHUB_TOKEN:-}" ]; then
strongEcho 'Build and analyze pull request, no deploy'