]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
Fixing TravisCI build
authorDavid Gageot <david@gageot.net>
Wed, 17 Jun 2015 08:51:08 +0000 (09:51 +0100)
committerDavid Gageot <david@gageot.net>
Wed, 17 Jun 2015 09:20:22 +0000 (10:20 +0100)
Dockerfile [new file with mode: 0644]
travis.sh

diff --git a/Dockerfile b/Dockerfile
new file mode 100644 (file)
index 0000000..2487af2
--- /dev/null
@@ -0,0 +1,14 @@
+FROM maven:3.2-jdk-7
+
+RUN apt-get update && apt-get install -y \
+  bzip2 \
+  vim \
+  jq
+
+ENV TESTS SONARQUBE_SNAPSHOT
+ENV PATH ~/.local/bin:$PATH
+
+WORKDIR /root
+CMD ["./travis.sh"]
+
+ADD . /root/
index 4f81d21e240a69eb313bf94235a2a28d6dda835c..ecbf8b01ad299f2b4823b3c3989642adebb30118 100755 (executable)
--- a/travis.sh
+++ b/travis.sh
@@ -3,10 +3,9 @@
 set -euo pipefail
 
 function installTravisTools {
-  curl -sSL https://raw.githubusercontent.com/dgageot/travis-utils/master/install.sh | sh
-  source /tmp/travis-utils/utils.sh
+  curl -sSL https://raw.githubusercontent.com/sonarsource/travis-utils/v2.1/install.sh | bash
 }
 
 installTravisTools
-build_green_sonarqube_snapshot
+travis_build_green_sonarqube_snapshot
 mvn verify -B -e -V