diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 00000000..e69de29b diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..bbe5d54c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +language: node_js +node_js: + - "iojs" +sudo: false +install: + - npm install diff --git a/package.json b/package.json index 3f47a2af..f1992961 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/test/implementation/storage/blog.sqlite3 b/test/implementation/storage/blog.sqlite3 index 2fd69a1d..7df50970 100644 Binary files a/test/implementation/storage/blog.sqlite3 and b/test/implementation/storage/blog.sqlite3 differ