Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Commit

Permalink
Add coveralls.io support #3
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredlockhart committed Jun 22, 2016
1 parent fa170f4 commit 43aacd9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
9 changes: 8 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
machine:
environment:
COVERALLS_REPO_TOKEN: Vf8OYui1kwrD3HoOBefD4K0sbgpOVz7JO

node:
version: 6.2

dependencies:
override:
- npm install --dev
- npm install --only=dev

test:
post:
- npm run cover
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"main": "parser.js",
"scripts": {
"test:lint": "./node_modules/eslint/bin/eslint.js ./parser.js",
"test:mocha": "./node_modules/istanbul/lib/cli.js cover _mocha -- tests/* -R spec",
"test": "./node_modules/npm-run-all/bin/npm-run-all/index.js test:*"
"test:mocha": "./node_modules/istanbul/lib/cli.js cover _mocha --report lcovonly -- tests/* -R spec",
"test": "./node_modules/npm-run-all/bin/npm-run-all/index.js test:*",
"cover": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"repository": {
"type": "git",
Expand All @@ -29,11 +30,13 @@
},
"devDependencies": {
"chai": "^3.5.0",
"coveralls": "^2.11.9",
"eslint": "^2.13.1",
"eslint-plugin-mozilla": "0.0.3",
"istanbul": "^0.4.4",
"jsdom": "^9.2.1",
"mocha": "^2.5.3",
"mocha-lcov-reporter": "^1.2.0",
"npm-run-all": "^2.2.0"
}
}

0 comments on commit 43aacd9

Please sign in to comment.