aboutsummaryrefslogtreecommitdiffstats
path: root/travis.sh
diff options
context:
space:
mode:
authorJulien HENRY <henryju@yahoo.fr>2016-07-05 11:06:48 +0200
committerJulien HENRY <henryju@yahoo.fr>2016-07-05 11:06:48 +0200
commit97df742be527eee859b83441e2cc645f19326f83 (patch)
tree718e6ea81b0aa5f08182a99b99569b66a755782e /travis.sh
parent202ad17083057b4e8dc10742ae592b04beb8360f (diff)
downloadsonar-scanner-cli-97df742be527eee859b83441e2cc645f19326f83.tar.gz
sonar-scanner-cli-97df742be527eee859b83441e2cc645f19326f83.zip
Move ITs on QA
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh28
1 files changed, 3 insertions, 25 deletions
diff --git a/travis.sh b/travis.sh
index d6cdc06..3ba067a 100755
--- a/travis.sh
+++ b/travis.sh
@@ -3,34 +3,12 @@
set -euo pipefail
function configureTravis {
- mkdir -p ~/.local
+ mkdir ~/.local
curl -sSL https://github.com/SonarSource/travis-utils/tarball/v27 | tar zx --strip-components 1 -C ~/.local
- source ~/.local/bin/install
+ source ~/.local/bin/install
}
configureTravis
-#build_snapshot SonarSource/sonar-scanner-api
-case "$TARGET" in
-
-CI)
- regular_mvn_build_deploy_analyze
- ;;
-
-IT)
- MIN_SQ_VERSION="LTS"
- mvn install -DskipTests=true -Dsource.skip=true -Denforcer.skip=true -B -e -V
-
- echo '======= Run integration tests on minimal supported version of SonarQube ($MIN_SQ_VERSION)'
- cd it
- mvn -Dsonar.runtimeVersion="$MIN_SQ_VERSION" -Dmaven.test.redirectTestOutputToFile=false verify -e -B -V
- # all other versions of SQ are tested by the QA pipeline at SonarSource
- ;;
-
-*)
- echo "Unexpected TARGET value: $TARGET"
- exit 1
- ;;
-
-esac
+regular_mvn_build_deploy_analyze