ctf-tools/z3/install
Steven Van Acker 7144e756e5 fail hard on any error + verify that all scripts use bash -ex to fail
early on any error + anticipate that some tools can't be installed by
now, but we still want the test to return success to satisfy travis-ci
2017-02-16 22:40:17 +01:00

18 lines
249 B
Bash
Executable file

#!/bin/bash -ex
git clone https://github.com/Z3Prover/z3
cd z3
# move to ctftools virtual env
set +e
source ${VIRTUALENVWRAPPER_SCRIPT}
workon ctftools
set -e
# install z3
python scripts/mk_make.py --python
cd build
make
make install
deactivate