Commit 35076876 authored by Christopher Dembia's avatar Christopher Dembia
Browse files

In travis, use multiple cores.

Travis VM's have up through 2 cores. Passing a -j2 flag should make/ctest the builds/tests faster.
parent e60bf3c2
......@@ -11,11 +11,11 @@ before_install:
script:
- cmake -DCMAKE_INSTALL_PREFIX=$HOME/OpenMM .
- make
- make install
- make -j2
- make -j2 install
- sudo make PythonInstall
- # run all of the tests
- ctest -V
- ctest -j2 -V
- # 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