Skip to content

Commit

Permalink
Add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkadiy Kukarkin committed Jan 7, 2017
1 parent ebdf5a4 commit 6ec6145
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -27,6 +27,8 @@ before_install:
script:
- npm run test && if [ "$SKIP_INTEGRATION_TEST" == "true" ]; then true; else ./integration-test/run-in-docker.sh; fi

after_success: npm run coverage

deploy:
skip_cleanup: true
provider: npm
Expand Down
6 changes: 5 additions & 1 deletion package.json
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"build-jq": "node scripts/build-jq.js",
"postinstall": "npm run build-jq",
"test": "mocha --compilers js:babel-register ./test",
"test": "nyc mocha --compilers js:babel-register ./test",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"build": "mkdirp ./lib && babel --copy-files src -d lib",
"check": "standard && flow",
"cli": "npm run build >/dev/null && node ./lib/client/cli/index.js",
Expand Down Expand Up @@ -75,10 +76,13 @@
"babel-eslint": "^7.1.0",
"babel-plugin-transform-flow-strip-types": "6.21.0",
"babel-register": "6.18.0",
"coveralls": "^2.11.15",
"eslint-plugin-flowtype": "2.29.2",
"interface-connection": "^0.3.0",
"mocha": "3.2.0",
"mocha-eventually": "^1.1.0",
"mocha-lcov-reporter": "^1.2.0",
"nyc": "^10.0.0",
"standard": "8.6.0"
},
"standard": {
Expand Down

0 comments on commit 6ec6145

Please sign in to comment.