Commit 62581e9c authored by John Chodera (MSKCC)'s avatar John Chodera (MSKCC)
Browse files

Modified travis logic to only fail if retested tests fail.

parent 1c271535
......@@ -23,8 +23,8 @@ script:
- sudo make PythonInstall
- # Run the testInstallation script
- python -m simtk.testInstallation
- # run all of the tests
- ctest -j2 -V
- # run all of the tests, making sure failures at this stage don't cause travis failures
- ctest -j2 -V || true
- # get a list of all of the failed tests into this stupid ctest format
- 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
- # rerun all of the failed tests
......
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