"csrc/vscode:/vscode.git/clone" did not exist on "4e06dc4816ca88cdceb045f3c8562ba66a759a2f"
Commit 6e5b3866 authored by peastman's avatar peastman
Browse files

Merge pull request #486 from chrisdembia/travis-parallel-build

In travis, use multiple cores.
parents e60bf3c2 35076876
...@@ -11,11 +11,11 @@ before_install: ...@@ -11,11 +11,11 @@ before_install:
script: script:
- cmake -DCMAKE_INSTALL_PREFIX=$HOME/OpenMM . - cmake -DCMAKE_INSTALL_PREFIX=$HOME/OpenMM .
- make - make -j2
- make install - make -j2 install
- sudo make PythonInstall - sudo make PythonInstall
- # run all of the tests - # run all of the tests
- ctest -V - ctest -j2 -V
- # get a list of all of the failed tests into this stupid ctest format - # 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 - 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 - # 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