Skip to content

Commit

Permalink
setup coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed May 14, 2016
1 parent 991db6e commit 8c6db60
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions build/ci.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
set -e
npm run ci
if [ -z "$CI_PULL_REQUEST" ] then
cat ./coverage/lcov.info | ./node_modules/.bin/codecov
fi
5 changes: 1 addition & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ machine:

test:
override:
- npm run lint
- npm run flow
- npm run test:cover
- npm run test:ssr
- bash build/ci.sh
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"babel-preset-es2015-rollup-vue": "1.1.x",
"babel-preset-flow-vue": "1.0.x",
"chromedriver": "2.21.x",
"codecov.io": "0.1.x",
"cross-spawn": "2.2.x",
"entities": "1.1.x",
"eslint": "2.9.x",
Expand Down

0 comments on commit 8c6db60

Please sign in to comment.