Skip to content

Commit

Permalink
Don't run coveralls when pushing (#379)
Browse files Browse the repository at this point in the history
* Don't run coveralls on local

* Cleaner solution for: Don't run coveralls on local

* Use new test-ci command for ci
  • Loading branch information
slipo authored and shawnmclean committed Dec 1, 2017
1 parent 921cabe commit 1af9c92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
key: neon-wallet-{{ checksum "yarn.lock" }}
- run: sudo apt-get -y update
- run: sudo apt-get -y install libusb-1.0-0-dev
- run: yarn test
- run: yarn test-ci
- run:
name: Running Xvfb for e2e test
command: Xvfb -ac :99 -screen 0 1280x1024x16
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"dev": "cross-env PORT=3000 START_HOT=1 NODE_ENV=development node_modules/.bin/webpack-dev-server --config ./config/webpack.config.dev",
"start-dev": "cross-env PORT=3000 NODE_ENV=development electron . --enable-logging --remote-debugging-port=9222",
"assets-dev": "cross-env PORT=3000 NODE_ENV=development webpack --config ./config/webpack.config.dev",
"test": "npm rebuild node-hid && jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test": "npm rebuild node-hid && jest --coverage",
"test-ci": "yarn test && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test:e2e": "ava __e2e__/*.e2e.js --timeout=120s",
"test-watch": "jest --watch",
"pack": "build --dir",
Expand Down

0 comments on commit 1af9c92

Please sign in to comment.