Skip to content

Commit

Permalink
Merge pull request #126 from philschatz/add-codecov
Browse files Browse the repository at this point in the history
Reports code coverage
  • Loading branch information
philschatz committed Jan 3, 2017
2 parents e73af9b + 1ab1048 commit 1f91932
Show file tree
Hide file tree
Showing 12 changed files with 370 additions and 327 deletions.
2 changes: 2 additions & 0 deletions .codecov.yml
@@ -0,0 +1,2 @@
# Disable Adding Pull Request Comments
comment: false
6 changes: 5 additions & 1 deletion .gitignore
Expand Up @@ -4,4 +4,8 @@
/tmp
/test-transpiled/

dist/octokat-browsertests.js
/dist/octokat-browsertests.js
/dist/octokat-browsertests.js.map
/dist/octokat.js.map

/coverage/
4 changes: 4 additions & 0 deletions .travis.yml
Expand Up @@ -11,3 +11,7 @@ before_install:
before_script:
- npm install -g grunt-cli
- bower install

after_success:
# Report coverage to codecov
- ./script/send-coverage.sh
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -5,6 +5,7 @@
[![build status][travis-image]][travis-url]
[![dependency status][dependency-image]][dependency-url]
[![dev dependency status][dev-dependency-image]][dev-dependency-url]
[![code coverage][coverage-image]][coverage-url]


<a href="https://tonicdev.com/npm/octokat" target="_window">Try it out in your browser!</a> (REPL)
Expand Down Expand Up @@ -486,3 +487,5 @@ If you are adding tests be sure to include the updated fixtures in the Pull Requ
[dependency-url]: https://david-dm.org/philschatz/octokat.js
[dev-dependency-image]: https://img.shields.io/david/dev/philschatz/octokat.js.svg
[dev-dependency-url]: https://david-dm.org/philschatz/octokat.js#info=devDependencies
[coverage-image]: https://img.shields.io/codecov/c/github/philschatz/octokat.js.svg
[coverage-url]: https://codecov.io/gh/philschatz/octokat.js

0 comments on commit 1f91932

Please sign in to comment.