Skip to content

Commit

Permalink
setup circle ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Sep 28, 2015
1 parent 787b8b5 commit 41fe4a1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
8 changes: 8 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
dependencies:
override:
- ./meteor --get-ready

test:
override:
- ./scripts/ci.sh :
parallel: true
19 changes: 19 additions & 0 deletions scripts/ci.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# run different jobs based on CicleCI parallel container index
case $CIRCLE_NODE_INDEX in
0)
echo "Running test-packages"
./packages/test-in-console/run.sh
;;
1)
echo "Running self-test (1): A-C"
./meteor self-test --file "^[a-c]" --exclude "$SELF_TEST_EXCLUDE"
;;
2)
echo "Running self-test (2): D-P"
./meteor self-test --file "^[d-p]" --exclude "$SELF_TEST_EXCLUDE"
;;
3)
echo "Running self-test (3): R-Z"
./meteor self-test --file "^[r-z]" --exclude "$SELF_TEST_EXCLUDE"
;;
esac

0 comments on commit 41fe4a1

Please sign in to comment.