Make circleci run more test targets. Patch by marcuse; reviewed by Jeff Jirsa and Michael Shuler for CASSANDRA-13413
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/b021a1ba Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/b021a1ba Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/b021a1ba Branch: refs/heads/cassandra-2.2 Commit: b021a1ba55c862eb237a0944e9e1092cfc36f4ef Parents: 010b5f3 Author: Marcus Eriksson <marc...@apache.org> Authored: Wed Apr 5 12:43:54 2017 +0200 Committer: Marcus Eriksson <marc...@apache.org> Committed: Fri Apr 7 08:07:18 2017 +0200 ---------------------------------------------------------------------- circle.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/b021a1ba/circle.yml ---------------------------------------------------------------------- diff --git a/circle.yml b/circle.yml index f0df312..9d31277 100644 --- a/circle.yml +++ b/circle.yml @@ -4,14 +4,15 @@ machine: test: pre: - - sudo ifconfig lo:1 127.0.0.2 up - - sudo ifconfig lo:2 127.0.0.3 up - - sudo ifconfig lo:3 127.0.0.4 up - - sudo ifconfig lo:4 127.0.0.5 up - - ant build - + - sudo apt-get update; sudo apt-get install wamerican: + parallel: true override: - - ant test + - case $CIRCLE_NODE_INDEX in 0) ant eclipse-warnings; ant test ;; 1) ant long-test ;; 2) ant test-compression ;; 3) ant stress-test ;;esac: + parallel: true + post: - - mkdir -p $CIRCLE_TEST_REPORTS/junit/ - - cp ./build/test/output/*.xml $CIRCLE_TEST_REPORTS/junit/ + - mkdir -p $CIRCLE_TEST_REPORTS/junit/: + parallel: true + - find ./build/test/output/ -iname "*.xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;: + parallel: true +