Skip to content

Commit

Permalink
Added travis and coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Sep 15, 2015
1 parent cfe08b0 commit 7048aed
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
Empty file added .coveralls.yml
Empty file.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: node_js
node_js:
- "iojs"
sudo: false
install:
- npm install
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@
"description": "Database Orm for adonis framework",
"main": "index.js",
"scripts": {
"test": "iojs ./node_modules/mocha/bin/mocha --harmony_proxies test/implementation test/unit --bail",
"coverage": "iojs --harmony_proxies node_modules/istanbul/lib/cli.js cover ./node_modules/.bin/_mocha test/implementation test/unit --bail"
"test": "node --harmony_proxies node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec test/implementation test/unit && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"coverage": "node --harmony_proxies node_modules/istanbul/lib/cli.js cover ./node_modules/.bin/_mocha test/implementation test/unit --bail"
},
"author": "",
"license": "ISC",
"devDependencies": {
"chai": "^3.2.0",
"co": "^4.6.0",
"coveralls": "^2.11.4",
"loadtest": "^1.2.14",
"mocha": "^2.3.0",
"mocha-lcov-reporter": "0.0.2",
"mysql": "^2.9.0",
"sqlite3": "git://github.com/kkoopa/node-sqlite3.git#nan2"
},
Expand Down
Binary file modified test/implementation/storage/blog.sqlite3
Binary file not shown.

0 comments on commit 7048aed

Please sign in to comment.