Skip to content

Commit

Permalink
Merge pull request #66 from pysmt/mathsat_5_3_5
Browse files Browse the repository at this point in the history
Update CI to use MathSAT 5.3.5
  • Loading branch information
marcogario committed Mar 30, 2015
2 parents ad2679d + ae68ef4 commit 38173a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pysmt/cmd/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def download(url, file_name):
def install_msat(options):
"""Installer for the MathSAT5 solver python interafce"""

base_name = "mathsat-5.3.4-linux-%s" % get_architecture()
base_name = "mathsat-5.3.5-linux-%s" % get_architecture()
archive_name = "%s.tar.gz" % base_name
archive = os.path.join(BASE_DIR, archive_name)
dir_path = os.path.join(BASE_DIR, base_name)
Expand Down
7 changes: 2 additions & 5 deletions shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,12 @@ matrix:
env: PYSMT_SOLVER="cudd"
- python: 3.4
env: PYSMT_SOLVER="cudd"
allow_failures:
- env: PYSMT_SOLVER="msat_wrap"

# Make folders for the reports
before_script:
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
- export PYTHONPATH="$PYTHONPATH:$TRAVIS_BUILD_DIR/.smt_solvers/mathsat-5.2.12-linux-x86_64/python:$TRAVIS_BUILD_DIR/.smt_solvers/mathsat-5.2.12-linux-x86_64/python/build/lib.linux-x86_64-$TRAVIS_PYTHON_VERSION"
- export PYTHONPATH="$PYTHONPATH:$TRAVIS_BUILD_DIR/.smt_solvers/mathsat-5.3.4-linux-x86_64/python:$TRAVIS_BUILD_DIR/.smt_solvers/mathsat-5.3.4-linux-x86_64/python/build/lib.linux-x86_64-$TRAVIS_PYTHON_VERSION"
- export PYTHONPATH="$PYTHONPATH:$TRAVIS_BUILD_DIR/.smt_solvers/mathsat-5.3.5-linux-x86_64/python:$TRAVIS_BUILD_DIR/.smt_solvers/mathsat-5.3.5-linux-x86_64/python/build/lib.linux-x86_64-$TRAVIS_PYTHON_VERSION"
- export PYTHONPATH="$PYTHONPATH:$TRAVIS_BUILD_DIR/.smt_solvers/z3_bin/lib/python2.7/dist-packages"
# We have 2 different paths for CVC4 1) if we compile 2) if we download the binary
- export PYTHONPATH="$PYTHONPATH:$TRAVIS_BUILD_DIR/.smt_solvers/CVC4-68f22235a62f5276b206e9a6692a85001beb8d42/builds/src/bindings/python"
Expand All @@ -81,7 +78,7 @@ before_script:

script:
- ./install.py --check
- if [ "$PYSMT_SOLVER" == "msat_wrap" ]; then cd $TRAVIS_BUILD_DIR/pysmt/test/smtlib/bin; cp $TRAVIS_BUILD_DIR/.smt_solvers/mathsat-5.3.4-linux-x86_64/bin/mathsat .; mv mathsat.solver.sh.template mathsat.solver.sh; cd $TRAVIS_BUILD_DIR/; fi
- if [ "$PYSMT_SOLVER" == "msat_wrap" ]; then cd $TRAVIS_BUILD_DIR/pysmt/test/smtlib/bin; cp $TRAVIS_BUILD_DIR/.smt_solvers/mathsat-5.3.5-linux-x86_64/bin/mathsat .; mv mathsat.solver.sh.template mathsat.solver.sh; cd $TRAVIS_BUILD_DIR/; fi
- nosetests pysmt -v --processes=4 --process-timeout=360 --with-xunit --xunit-file=shippable/testresults/nosetests.xml

# Push of container is disabled
Expand Down

0 comments on commit 38173a9

Please sign in to comment.