Skip to content

Commit

Permalink
added parallel modifier to circl CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoessbauer committed Oct 27, 2016
1 parent 4d49081 commit 57747cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ dependencies:

test:
override:
- docker run -v $PWD:/opt/dash dash/testing /bin/sh -c "export DASH_MAX_UNITS='4'; export GTEST_TOTAL_SHARDS=$CIRCLE_NODE_TOTAL; export GTEST_SHARD_INDEX=$CIRCLE_NODE_INDEX; sh dash/scripts/dash-ci.sh | grep -v 'LOG =' | tee dash-ci.log 2> dash-ci.err;"
- docker run -v $PWD:/opt/dash dash/testing /bin/sh -c "export DASH_MAX_UNITS='4'; export GTEST_TOTAL_SHARDS=${CIRCLE_NODE_TOTAL}; export GTEST_SHARD_INDEX=${CIRCLE_NODE_INDEX}; sh dash/scripts/dash-ci.sh | grep -v 'LOG =' | tee dash-ci.log 2> dash-ci.err;":
parallel:true
- ! cat ./dash-ci.log | grep "FAILED"
- cat ./dash-ci.log | grep "PASSED" || exit 1
post:
Expand Down

0 comments on commit 57747cd

Please sign in to comment.