Skip to content

Commit

Permalink
ci: add coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
litianhui committed Jul 6, 2018
1 parent 66650d5 commit 917386f
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ install:

script:
# - npm run lint
- BROWSER=true COVERAGE=false FLAKEY=false npm run test:karma
- BROWSER=true COVERAGE=true FLAKEY=false npm run test:karma
- npm run build:site
# - npm run test:coverage
# - ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info
- ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info

after_script:
- cd siteoutput
Expand Down
56 changes: 56 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
"chalk": "^2.3.0",
"clean-webpack-plugin": "^0.1.17",
"commitizen": "^2.10.1",
"coveralls": "^3.0.2",
"cross-env": "^5.1.3",
"css-loader": "^0.28.9",
"cz-conventional-changelog": "^2.1.0",
Expand Down

0 comments on commit 917386f

Please sign in to comment.