Skip to content

Commit

Permalink
Set up Coveralls integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenVerborgh committed Oct 4, 2016
1 parent f3cf69e commit 8f5e77e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.nyc_output
*.log
docs
browser/n3*
Expand Down
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ node_js:
script:
- npm run lint
- npm test
after_success:
- npm run coveralls
cache:
directories:
- node_modules
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@
"chai": "^3.5.0",
"chai-things": "^0.2.0",
"colors": "^1.1.2",
"coveralls": "^2.11.14",
"docco": "^0.7.0",
"eslint": "^3.4.0",
"istanbul": "^0.4.5",
"mocha": "^3.0.2",
"nyc": "^8.3.0",
"pre-commit": "^1.1.3",
"request": "^2.74.0",
"uglify-js": "^2.7.3"
Expand All @@ -33,7 +34,8 @@
"test": "mocha",
"lint": "eslint lib perf test spec",
"browser": "node browser/build-browser-versions",
"coverage": "istanbul cover node_modules/.bin/_mocha -- -R spec --timeout 1000",
"cover": "nyc -- mocha -R dot --timeout 1000",
"coveralls": "nyc --reporter=text-lcov -- mocha -R dot --timeout 1000 | coveralls",
"spec": "node spec/turtle-spec && node spec/trig-spec && node spec/ntriples-spec && node spec/nquads-spec",
"spec-clean": "rm -r spec/turtle spec/trig",
"docs": "docco lib/*.js"
Expand Down

0 comments on commit 8f5e77e

Please sign in to comment.