diff --git a/.travis.yml b/.travis.yml index 77aa6e6bf..9c0a466cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,10 @@ addons: - realpath - xvfb before_install: -- git clone --depth=1 https://github.com/secure-software-engineering/DroidBench.git - /tmp/DroidBench +- git clone --depth=1 https://github.com/secure-software-engineering/DroidBench.git /tmp/DroidBench +- export M2_HOME=$HOME/apache-maven-3.5.0 +- if [ ! -d $M2_HOME/bin ]; then curl https://archive.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz | tar zxf - -C $HOME; fi +- export PATH=$M2_HOME/bin:$PATH install: - mvn clean verify -DskipTests=true -B -q script: @@ -20,6 +22,7 @@ sudo: false cache: directories: - "$HOME/.m2" + - "$HOME/apache-maven-3.5.0" - "$TRAVIS_BUILD_DIR/com.ibm.wala.core.testdata/ocaml/ocamljava-2.0-alpha1/lib" env: global: