about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2017-04-06 11:22:05 +0100
committerGitHub <noreply@github.com>2017-04-06 11:22:05 +0100
commita40e354dd138738792a67ea5f2b632690d393a83 (patch)
treeeacf987724f48f9e78c868af9516cc55a0117a75
parent2d6bf37812556609872dc63adcf2291fe58aba17 (diff)
parent64a28ee700d7be23e0d8b0de7c8282d532bbcc6b (diff)
downloadklee-a40e354dd138738792a67ea5f2b632690d393a83.tar.gz
Merge pull request #626 from delcypher/meta_smt_check_version_present
[TravisCI] Check if `METASMT_VERSION` is set
-rwxr-xr-x.travis/metaSMT.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis/metaSMT.sh b/.travis/metaSMT.sh
index 9c21d341..26a61c6b 100755
--- a/.travis/metaSMT.sh
+++ b/.travis/metaSMT.sh
@@ -1,5 +1,9 @@
 #!/bin/bash -x
 
+set -e
+
+: ${METASMT_VERSION?"METASMT_VERSION not specified"}
+
 # Get Boost, Z3, libgmp
 sudo apt-get -y install libboost1.55-dev libz3 libz3-dev libgmp-dev
 
@@ -21,7 +25,7 @@ sudo cp dependencies/Z3-2.19/Z3Config.cmake /usr # this is a hack
 sudo cp deps/boolector-2.2.0/lib/* /usr/lib/              #
 sudo cp deps/lingeling-ayv-86bf266-140429/lib/* /usr/lib/ #
 sudo cp deps/minisat-git/lib/* /usr/lib/                  # hack
-sudo cp deps/stp-git-basic/lib/* /usr/lib/                #
+sudo cp -r deps/stp-git-basic/lib/lib* /usr/lib/          #
 
 # Build
 make -C build install