see if maven 3.5.0 builds javascript on travis as it does on my laptop

This commit is contained in:
Julian Dolby 2017-08-02 02:53:01 +00:00
parent 3d2cdf76b7
commit 4629f8b9cd
1 changed files with 5 additions and 2 deletions

View File

@ -6,8 +6,10 @@ addons:
- realpath - realpath
- xvfb - xvfb
before_install: before_install:
- git clone --depth=1 https://github.com/secure-software-engineering/DroidBench.git - git clone --depth=1 https://github.com/secure-software-engineering/DroidBench.git /tmp/DroidBench
/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: install:
- mvn clean verify -DskipTests=true -B -q - mvn clean verify -DskipTests=true -B -q
script: script:
@ -20,6 +22,7 @@ sudo: false
cache: cache:
directories: directories:
- "$HOME/.m2" - "$HOME/.m2"
- "$HOME/apache-maven-3.5.0"
- "$TRAVIS_BUILD_DIR/com.ibm.wala.core.testdata/ocaml/ocamljava-2.0-alpha1/lib" - "$TRAVIS_BUILD_DIR/com.ibm.wala.core.testdata/ocaml/ocamljava-2.0-alpha1/lib"
env: env:
global: global: