Skip to content

Commit

Permalink
configure codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
koca committed Sep 22, 2018
1 parent fdd8f13 commit 30f0595
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ jobs:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

# run tests!
- run:
name: test
command: yarn test:unit
command: yarn test:unit:cov
- run:
name: upload coverage
command: bash <(curl -s https://codecov.io/bash)
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"build": "vue-cli-service build --target lib --name VueComponent src/components/Component.js && rimraf dist/demo.html",
"lint": "vue-cli-service lint",
"test:unit": "vue-cli-service test:unit",
"test:unit:cov": "npm run lint && npm run test:unit -- --coverage",
"test:unit:watch": "vue-cli-service test:unit --watch"
},
"unpkg": "dist/VueComponent.umd.min.js",
Expand Down

0 comments on commit 30f0595

Please sign in to comment.