diff --git a/.travis.yml b/.travis.yml index 2e65ce1..67c1047 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,3 +2,5 @@ language: node_js node_js: - '5' - '4' +after_success: + - './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls' diff --git a/package.json b/package.json index 6f25b06..cc7e88b 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "build": "babel --presets es2015,stage-0 -d lib/ src/", "watch": "babel -w --presets es2015,stage-0 -d lib/ src/", "prepublish": "npm run clean && npm run build", - "test": "ava ./src/**/__tests__/**/*-tests.js", - "testCoverage": "nyc ava ./src/**/__tests__/**/*-tests.js", + "test": "nyc ./src/**/__tests__/**/*-tests.js", + "quickTest": "ava ./src/**/__tests__/**/*-tests.js", "buildTestSchema": "node src/updateSchema.js src/__tests__/schema.js src/__tests__/clientSchema.json 2" }, "repository": { @@ -35,6 +35,7 @@ "babel-preset-es2015": "6.9.0", "babel-preset-stage-0": "6.5.0", "babel-register": "6.9.0", + "coveralls": "^2.11.9", "nyc": "^6.4.4", "rimraf": "2.5.2", "xo": "0.15.1"