Commit 4e2c9968 authored by peastman's avatar peastman
Browse files

Merge pull request #364 from rmcgibbo/travis2

Fix Travis-CI
parents 82662e25 4943c48d
...@@ -10,15 +10,16 @@ before_install: ...@@ -10,15 +10,16 @@ before_install:
- export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-3.3 - export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-3.3
script: script:
- cmake -DCMAKE_INSTALL_PREFIX=~/OpenMM -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_DEBUG="-g -fsanitize=address -fno-omit-frame-pointer -O2" . - cmake -DCMAKE_INSTALL_PREFIX=$HOME/OpenMM .
- make - make
- make test
- make install - make install
- ls ~/OpenMM/include - sudo make PythonInstall
- export LD_LIBRARY_PATH=~/OpenMM/lib/ - # run all of the tests
- export OPENMM_LIB_PATH=~/OpenMM/lib/ - ctest -V
- export OPENMM_INCLUDE_PATH=~/OpenMM/include/ - # get a list of all of the failed tests into this stupid ctest format
- cd python - python -c 'fn = "Testing/Temporary/LastTestsFailed.log"; import os; os.path.exists(fn) or exit(0); l = [line.split(":")[0] for line in open(fn)]; triplets = zip(l, l, [","]*len(l)); print "".join(",".join(t) for t in triplets)' > FailedTests.log
- sudo -E python setup.py install - # rerun all of the failed tests
- cd tests - if [ -s FailedTests.log ]; then ctest -V -I FailedTests.log; fi;
- # run the python tests too
- cd python/tests
- nosetests -vv - nosetests -vv
File mode changed from 100755 to 100644
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment