diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-07-16 13:51:30 +0200 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-07-20 12:59:15 +0200 |
commit | 73b46e381ff0a7a0b3bc280ac45de592e547513a (patch) | |
tree | a784542f624aa1a97be6f77eed75eda094be2166 /travis.sh | |
parent | f20b8927e6b8747b37ae750de393215312b774c2 (diff) | |
download | sonar-scanner-cli-73b46e381ff0a7a0b3bc280ac45de592e547513a.tar.gz sonar-scanner-cli-73b46e381ff0a7a0b3bc280ac45de592e547513a.zip |
merge it-sonar-runner and update groupId
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 25 |
1 files changed, 21 insertions, 4 deletions
@@ -3,9 +3,26 @@ set -euo pipefail function installTravisTools { - curl -sSL https://raw.githubusercontent.com/sonarsource/travis-utils/v10/install.sh | bash + curl -sSL https://raw.githubusercontent.com/sonarsource/travis-utils/v11/install.sh | bash + source /tmp/travis-utils/env.sh } -installTravisTools -travis_build_green "SonarSource/sonarqube" "master" -mvn verify -B -e -V +case "$TESTS" in + +CI) + installTravisTools + travis_build_green "SonarSource/sonarqube" "master" + mvn verify -B -e -V + ;; + +IT-DEV) + cat /etc/hosts + rpm -qa | grep glibc + installTravisTools + mvn install -Dsource.skip=true -Denforcer.skip=true -Danimal.sniffer.skip=true -Dmaven.test.skip=true + travis_build_green "SonarSource/sonarqube" "master" + cd it + mvn -Dsonar.runtimeVersion="DEV" -DsonarRunner.version="2.5-SNAPSHOT" -Dmaven.test.redirectTestOutputToFile=false install + ;; + +esac |