Skip to content

Commit

Permalink
Make CI even greater
Browse files Browse the repository at this point in the history
  • Loading branch information
nkbt committed Aug 2, 2017
1 parent 5579ea3 commit 4fade79
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
machine:
node:
version: 7
version: 8


dependencies:
override:
- yarn install


test:
override:
- $(npm bin)/eslint .
- $(npm bin)/babel-node $(npm 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
- $(yarn bin)/eslint .
- NODE_ENV=test $(yarn bin)/babel-node $(yarn bin)/babel-istanbul cover --report text --report lcov --verbose --dir ${CIRCLE_ARTIFACTS}/coverage ./test
- REPORT_DIR=${CIRCLE_TEST_REPORTS} LOG_DIR=${CIRCLE_ARTIFACTS} NODE_ENV=development $(yarn bin)/nightwatch-autorun


post:
- cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | $(npm bin)/codecov
- cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | $(yarn bin)/codecov

0 comments on commit 4fade79

Please sign in to comment.