Skip to content

Commit

Permalink
Merge pull request #7 from LuizArmesto/la-configure-travis-coveralls
Browse files Browse the repository at this point in the history
Integrate with travis and coveralls
  • Loading branch information
pwalsh committed Sep 2, 2015
2 parents d2a1aad + 20061f8 commit d187796
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 9 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: node_js
node_js:
- '0.12'
- '0.11'
- '0.10'
install: npm install
script: npm run coverage
after_script: npm run coveralls
branches:
only:
- master
notifications:
email:
on_success: never
on_failure: change
27 changes: 18 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,30 @@
"name": "datapackage-registry",
"version": "0.1.0",
"description": "An API wrapper for a Data Package registry.",
"keywords": ["data package", "frictionless data", "open data", "open knowledge"],
"keywords": [
"data package",
"frictionless data",
"open data",
"open knowledge"
],
"main": "index.js",
"dependencies": {
"csv": "^0.4.1",
"promise-polyfill": "^2.0.2",
"superagent": "^1.2.0",
"underscore": "^1.8.3"
"underscore": "^1.8.3",
"bluebird": "~2.9.34"
},
"devDependencies": {
"chai": "^3.0.0",
"mocha": "^2.2.5",
"superagent-mock": "^1.2.0"
"superagent-mock": "^1.2.0",
"istanbul": "~0.3.19",
"coveralls": "~2.11.4"
},
"scripts": {
"test": "mocha ./"
"test": "mocha ./",
"coverage": "istanbul cover _mocha -- -R spec .",
"coveralls": "cat ./coverage/lcov.info | coveralls"
},
"author": {
"name": "Open Knowledge",
Expand All @@ -42,9 +51,9 @@
],
"homepage": "https://github.com/okfn/datapackage-registry-js",
"bugs": "https://github.com/okfn/datapackage-registry-js/issues",
"repository" : {
"type" : "git",
"url" : "https://github.com/okfn/datapackage-registry-js.git"
"repository": {
"type": "git",
"url": "https://github.com/okfn/datapackage-registry-js.git"
},
"license": "MIT"
}
}

0 comments on commit d187796

Please sign in to comment.