about summary refs log tree commit diff homepage
path: root/.travis/stp.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/stp.sh')
-rwxr-xr-x.travis/stp.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis/stp.sh b/.travis/stp.sh
index d2b4f1f1..437e825d 100755
--- a/.travis/stp.sh
+++ b/.travis/stp.sh
@@ -5,7 +5,7 @@ set -e
 
 STP_LOG="$(pwd)/stp-build.log"
 
-if [ "${STP_VERSION}" == "UPSTREAM" ]; then
+if [ "${STP_VERSION}" != "r940" ]; then
     # Build minisat
     git clone https://github.com/stp/minisat
     cd minisat
@@ -18,7 +18,7 @@ if [ "${STP_VERSION}" == "UPSTREAM" ]; then
     cd ../../
 
     # Build STP
-    git clone --depth 1 git://github.com/stp/stp.git src
+    git clone --depth 1 -b "${STP_VERSION}" git://github.com/stp/stp.git src
     mkdir build
     cd build
     # Disabling building of shared libs is a workaround.