WALA/travis/before-install-maven

12 lines
359 B
Bash

# -*- mode: sh; sh-shell: sh -*-
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