Skip to content

Commit

Permalink
Add test coverage
Browse files Browse the repository at this point in the history
Issue: #176
  • Loading branch information
nicolasbock committed Nov 16, 2018
1 parent 695e633 commit 3a0a00b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@ script:
- bundle exec jekyll build
- npm test

after_success:
- npm run coverage

after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"scripts": {
"test": "nyc mocha"
"test": "nyc --reporter=html mocha",
"coverage": "nyc --reporter=lcov mocha"
},
"devDependencies": {
"PrettyCSS": "^0.3.17",
Expand Down

0 comments on commit 3a0a00b

Please sign in to comment.