Skip to content

Commit

Permalink
chore(travis): setup coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Jun 12, 2016
1 parent 49fc356 commit a83b1e4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ npm-debug.log

node_modules/
dist/
.nyc_output/
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ after_success:
- python travis_after_all.py
- 'export $(cat .to_export_back) &> /dev/null'
- npm run semantic-release
- npm run coverage
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ A quick way to prototype and build apps with React and Babel with zero-setup.
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![npm version](https://badge.fury.io/js/quik.svg)](https://www.npmjs.com/quik)
[![build status](https://travis-ci.org/satya164/quik.svg?branch=master)](https://travis-ci.org/satya164/quik)
[![coverage status](https://coveralls.io/repos/github/satya164/quik/badge.svg?branch=master)](https://coveralls.io/github/satya164/quik?branch=master)
[![dependencies](https://david-dm.org/satya164/quik.svg)](https://david-dm.org/satya164/quik)
[![license](https://img.shields.io/npm/l/quik.svg)](http://opensource.org/licenses/mit-license.php)

Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"main": "dist/index.js",
"scripts": {
"build": "del dist/ && babel -sd dist/ src/",
"test": "ava test/**/*.js",
"test": "nyc ava test/**/*.js",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"lint": "git diff HEAD --name-only --diff-filter=ACM | grep '.js$' | xargs eslint --quiet",
"prepublish": "npm run build",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
Expand Down Expand Up @@ -78,6 +79,7 @@
"ava": "^0.15.2",
"babel-cli": "^6.10.1",
"babel-eslint": "^6.0.4",
"coveralls": "^2.11.9",
"cz-conventional-changelog": "^1.1.6",
"del": "^2.2.0",
"del-cli": "^0.2.0",
Expand All @@ -87,6 +89,7 @@
"eslint-plugin-import": "^1.8.1",
"eventsource": "^0.2.1",
"mkdirp": "^0.5.1",
"nyc": "^6.4.4",
"semantic-release": "^4.3.5"
},
"ava": {
Expand Down

0 comments on commit a83b1e4

Please sign in to comment.