diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2017-03-30 14:49:16 +0100 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2017-03-30 14:49:16 +0100 |
commit | 31d7fa412c673d2e2b0f9fe2abf32afa1b105d5e (patch) | |
tree | 769509fcc09120092d307c26ba92b07228ea3118 /.travis/z3.sh | |
parent | 58c5132f82112d2ceef3b676e0bd04f04c940b69 (diff) | |
download | klee-31d7fa412c673d2e2b0f9fe2abf32afa1b105d5e.tar.gz |
[TravisCI] Make handling of `TRAVIS_OS_NAME` more robust by not assuming
that its value not being `linux` implies `osx`.
Diffstat (limited to '.travis/z3.sh')
-rwxr-xr-x | .travis/z3.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis/z3.sh b/.travis/z3.sh index f8ae6e0b..a4c00f82 100755 --- a/.travis/z3.sh +++ b/.travis/z3.sh @@ -12,6 +12,9 @@ fi if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then # Should we install libz3-dbg too? sudo apt-get -y install libz3 libz3-dev -else # OSX +elif [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew install z3 +else + echo "Unhandled TRAVIS_OS_NAME \"${TRAVIS_OS_NAME}\"" + exit 1 fi |