-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |