Put Z3 in $HOME/bin on Travis/Linux

This commit is contained in:
Aaron Tomb 2017-07-07 15:25:20 -07:00
parent 80faaa4819
commit ac214563f2

View File

@ -15,10 +15,11 @@ matrix:
before_install: before_install:
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; - if [[ $TRAVIS_OS_NAME == 'linux' ]];
then then
export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.cabal/bin:$PATH; mkdir -p HOME/bin;
export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/bin:$HOME/.cabal/bin:$PATH;
curl https://saw.galois.com/builds/z3/z3 > z3; curl https://saw.galois.com/builds/z3/z3 > z3;
chmod +x z3; chmod +x z3;
mv z3 $HOME/.cabal/bin/z3; mv z3 $HOME/bin/z3;
z3 --version; z3 --version;
fi fi
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; - if [[ $TRAVIS_OS_NAME == 'osx' ]];