Skip to content

Commit

Permalink
Adding support to Coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
obetomuniz committed Jul 27, 2016
1 parent 4cd43fa commit 0bb9c03
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
node_modules/
lib/
coverage/
.nyc_output/
npm-debug.log
.DS_Store
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: node_js

node_js:
- '6'
- '6.2'
after_success:
- npm run test:coverage:travis
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"name": "tatooine",
"version": "0.0.22",
"version": "0.0.23",
"description": "Tatooine: A pluggable, simple and powerful web scraper.",
"main": "lib/index.js",
"author": "Beto Muniz <contato@betomuniz.com>",
"license": "MIT",
"scripts": {
"start": "nodemon index.js --exec babel-node",
"test": "mocha test/**/*.js",
"test:coverage": "node_modules/.bin/nyc npm test && tap --cov --coverage-report=lcov test/*.test.js",
"test:coverage:travis": "node_modules/.bin/nyc npm test && node_modules/.bin/nyc report --reporter=text-lcov | node_modules/.bin/coveralls",
"build": "babel src --presets babel-preset-es2015 --out-dir lib",
"prepublish": "npm run build"
},
Expand All @@ -31,11 +33,13 @@
"babel-plugin-transform-regenerator": "6.11.4",
"babel-preset-es2015": "6.9.0",
"chai": "3.5.0",
"coveralls": "2.11.11",
"dirty-chai": "1.2.2",
"eslint": "3.1.1",
"eslint-config-airbnb-base": "5.0.0",
"eslint-plugin-import": "1.12.0",
"mocha": "2.5.3",
"nodemon": "1.10.0"
"nodemon": "1.10.0",
"nyc": "7.1.0"
}
}
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Dependency Status](https://dependencyci.com/github/obetomuniz/tatooine/badge)](https://dependencyci.com/github/obetomuniz/tatooine)
[![Build Status](https://travis-ci.org/obetomuniz/tatooine.svg?branch=master)](https://travis-ci.org/obetomuniz/tatooine)
[![Coverage Status](https://coveralls.io/repos/github/obetomuniz/tatooine/badge.svg?branch=master)](https://coveralls.io/github/obetomuniz/tatooine?branch=master)

<img src="https://cloud.githubusercontent.com/assets/1680157/17003290/a47ea06a-4ea5-11e6-8fc0-c36988534226.png" />

Expand Down
1 change: 0 additions & 1 deletion test/mocha.opts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
--reporter spec
--compilers js:babel-register
--slow 7500
--timeout 30000

0 comments on commit 0bb9c03

Please sign in to comment.