Skip to content

Commit

Permalink
add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Darmody committed Mar 19, 2016
1 parent 8f3f794 commit 5fe3ec8
Show file tree
Hide file tree
Showing 4 changed files with 518 additions and 476 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ addons:
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
travis_wait 30 npm install -d
script:
- npm run lint
- npm test
- npm run coverage
after_success:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Douban FMac

[![version][version-image]][version-url] [![build status][travis-image]][travis-url]
[![version][version-image]][version-url]
[![build status][travis-image]][travis-url]
[![coverall status][coveralls-image]][coveralls-url]

A beautiful mac desktop application for [Douban FM](http://douban.fm)

Expand All @@ -27,6 +29,8 @@ Download the Mac Desktop Application at [Mac App Releases](https://github.com/Da

[travis-image]: https://img.shields.io/travis/Darmody/DoubanFMac/master.svg
[travis-url]: https://travis-ci.org/Darmody/DoubanFMac
[coveralls-image]: https://img.shields.io/coveralls/Darmody/DoubanFMac/master.svg
[coveralls-url]: https://coveralls.io/github/Darmody/DoubanFMac
[version-image]: https://img.shields.io/badge/version-beta-blue.svg
[version-url]: https://github.com/Darmody/DoubanFMac/releases

Expand Down
Loading

0 comments on commit 5fe3ec8

Please sign in to comment.