--- /dev/null
+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/
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