forked from nkbt/react-collapse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
18 lines (14 loc) · 789 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
machine:
node:
version: v0.10.40
dependencies:
pre:
- npm install -g npm@3
test:
override:
- ./node_modules/.bin/eslint --debug . --format tap | ./node_modules/.bin/tap-xunit > ${CIRCLE_TEST_REPORTS}/lint.xml; test ${PIPESTATUS[0]} -eq 0
- npm run babel-node -- ./node_modules/.bin/tape test/**/*-test.js | ./node_modules/.bin/tap-xunit > ${CIRCLE_TEST_REPORTS}/test.xml; test ${PIPESTATUS[0]} -eq 0
- npm run babel-node -- ./node_modules/.bin/isparta cover --report text --report lcov --verbose --dir ${CIRCLE_ARTIFACTS}/coverage --include '**/!(*-test).js' test/index.js
- REPORT_DIR=${CIRCLE_TEST_REPORTS} LOG_DIR=${CIRCLE_ARTIFACTS} npm run test:e2e -s
post:
- cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | ./node_modules/.bin/coveralls || true