Skip to content

Commit

Permalink
Merge pull request grpc#853 from ctiller/travis-c
Browse files Browse the repository at this point in the history
Better parallelization for C
  • Loading branch information
nicolasnoble committed Feb 27, 2015
2 parents edfd102 + 6d4b5c2 commit 878e4b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
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:
email: false
2 changes: 1 addition & 1 deletion tools/run_tests/jobset.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def run(cmdlines,
if not travis:
cmdlines = shuffle_iteratable(cmdlines)
else:
cmdlines = sorted(cmdlines)
cmdlines = sorted(cmdlines, key=lambda x: x.shortname)
for cmdline in cmdlines:
if not js.start(cmdline):
break
Expand Down

0 comments on commit 878e4b6

Please sign in to comment.