Skip to content

Commit

Permalink
adding coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
pointnet committed Jul 17, 2016
1 parent 9561eae commit f902ff7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ branches:
only:
- master
- develop
script: "npm run test:coverage"
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,32 @@
"node": ">=4.0"
},
"scripts": {
"pretest": "npm run lint",
"clean": "npm run clean:actual && npm run clean:coverage",
"clean:actual": "rimraf ./test/actual",
"clean:coverage": "rimraf ./coverage",
"lint": "eslint ./*.js ./test/*.js",
"test": "mocha --recursive ./**/*.test.js"
"pretest": "npm run clean:actual && npm run lint",
"test": "mocha ./test/*.test.js",
"pretest:coverage": "npm run clean && npm run lint",
"test:coverage": "istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec ./test/*.test.js"
},
"dependencies": {
"generate-defaults": "^0.4.0",
"is-valid-app": "^0.2.0"
},
"devDependencies": {
"bdd-stdin": "^0.2.0",
"coveralls": "^2.11.11",
"delete": "^0.3.2",
"eslint": "^3.1.0",
"generate": "^0.9.5",
"global-modules": "^0.2.2",
"gulp-format-md": "^0.1.9",
"intercept-stdout": "^0.1.2",
"istanbul": "^0.4.4",
"mocha": "^2.5.3",
"npm-install-global": "^0.1.2"
"npm-install-global": "^0.1.2",
"rimraf": "^2.5.3"
},
"keywords": [
"babelrc",
Expand Down

0 comments on commit f902ff7

Please sign in to comment.