From: David Gageot Date: Fri, 5 Jun 2015 09:24:44 +0000 (+0200) Subject: Travis build should use a snapshot of SonarQube X-Git-Tag: 2.5-rc1~87^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=698f531d64da7f154682f0384ce195142798a4d1;p=sonar-scanner-cli.git Travis build should use a snapshot of SonarQube --- diff --git a/.travis.yml b/.travis.yml index 715841b..8bf843b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,14 +4,9 @@ jdk: - oraclejdk8 - openjdk7 -script: mvn clean verify - install: true +script: ./travis.sh -# Container-based infrastructure -sudo: false - -# Keep Maven local repository between builds cache: directories: - '$HOME/.m2/repository' diff --git a/travis.sh b/travis.sh new file mode 100755 index 0000000..4f81d21 --- /dev/null +++ b/travis.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -euo pipefail + +function installTravisTools { + curl -sSL https://raw.githubusercontent.com/dgageot/travis-utils/master/install.sh | sh + source /tmp/travis-utils/utils.sh +} + +installTravisTools +build_green_sonarqube_snapshot +mvn verify -B -e -V