Skip to content

Commit

Permalink
feat(ci): upload test coverage to codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
valorkin committed Dec 2, 2016
1 parent db5a574 commit 3d0923e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ before_install:
- sh -e /etc/init.d/xvfb start

script:
- npm test
- npm test-coverage
- ./node_modules/.bin/codecov

after_success:
- ./node_modules/.bin/codecov -f coverage/coverage-final.json
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
"postflow.publish": "npm run demo",
"build": "ngm build -p src",
"start": "ng serve",
"pretest": "run-s build link",
"generate-bs4": "node scripts/generate-bs4.js",
"test": "ng test --watch false",
"pretest": "run-s build link",
"test": "ng test -sr",
"test-coverage": "ng test -sr -cc",
"preversion": "npm test",
"wm-update": "webdriver-manager update",
"pree2e": "run-s wm-update build link",
Expand Down

0 comments on commit 3d0923e

Please sign in to comment.