Skip to content
Snippets Groups Projects
Commit 878e4b61 authored by Nicolas Noble's avatar Nicolas Noble
Browse files

Merge pull request #853 from ctiller/travis-c

Better parallelization for C
parents edfd1023 6d4b5c23
No related branches found
No related tags found
No related merge requests found
language: cpp language: cpp
script: ./tools/run_tests/run_tests.py -lc -t -j2 script:
- ./tools/run_tests/run_tests.py -l c -t -j 16 -c dbg
- ./tools/run_tests/run_tests.py -l c -t -j 16 -c opt
notifications: notifications:
email: false email: false
...@@ -292,7 +292,7 @@ def run(cmdlines, ...@@ -292,7 +292,7 @@ def run(cmdlines,
if not travis: if not travis:
cmdlines = shuffle_iteratable(cmdlines) cmdlines = shuffle_iteratable(cmdlines)
else: else:
cmdlines = sorted(cmdlines) cmdlines = sorted(cmdlines, key=lambda x: x.shortname)
for cmdline in cmdlines: for cmdline in cmdlines:
if not js.start(cmdline): if not js.start(cmdline):
break break
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment