From 456abf92546780d7518d91a5f610a67bc13c87c0 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Wed, 17 Jun 2015 09:51:08 +0100 Subject: [PATCH] Fixing TravisCI build --- Dockerfile | 14 ++++++++++++++ travis.sh | 5 ++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2487af2 --- /dev/null +++ b/Dockerfile @@ -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/ diff --git a/travis.sh b/travis.sh index 4f81d21..ecbf8b0 100755 --- 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 -- 2.39.5