Skip to content

Commit

Permalink
update coveralls script
Browse files Browse the repository at this point in the history
  • Loading branch information
Cap32 committed Jun 27, 2018
1 parent 99c2c0b commit 4020283
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@ services:
language: node_js

node_js:
- "8"

before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- 6
- 8

before_script:
- yarn bootstrap
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"test:browser": "lerna exec --scope fetch-extra-core -- yarn test:browser",
"test:node": "lerna exec --scope fetch-extra-core -- yarn test:node",
"coverage": "lerna exec --scope fetch-extra-core -- yarn test --coverage",
"coveralls": "lerna exec --scope fetch-extra-core -- yarn test --coveralls",
"coveralls": "lerna exec --scope fetch-extra-core -- yarn coveralls",
"test": "lerna run test",
"build": "lerna run build",
"lerna-publish": "lerna publish --registry=https://registry.npmjs.org"
Expand Down
3 changes: 2 additions & 1 deletion packages/fetch-extra-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"test:browser": "jest --testPathPattern=browser\\.test",
"test:node": "jest --testPathPattern=node\\.test",
"coverage": "jest --coverage",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"coveralls:exec": "cat ./coverage/lcov.info | coveralls",
"coveralls": "run-s coverage coveralls:exec",
"preversion": "run-s test build"
},
"main": "lib/index.js",
Expand Down

0 comments on commit 4020283

Please sign in to comment.