setup circle ci

This commit is contained in:
Evan You
2015-09-25 15:25:11 -04:00
parent 90e5d3ea73
commit 8033ea03c7
2 changed files with 27 additions and 0 deletions

8
circle.yml Normal file
View File

@@ -0,0 +1,8 @@
dependencies:
override:
- ./meteor --get-ready
test:
override:
- ./scripts/ci.sh :
parallel: true

19
scripts/ci.sh Executable file
View File

@@ -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