Fail fast in CI

pull/395/head
Rick Carlino 2017-08-10 15:14:21 -05:00
parent 98a6456c05
commit c672bde6d6
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ script:
- export FW_UPDATE_SERVER=http://example.com
- export DB=postgresql
- export COVERALLS_REPO_TOKEN=lEX6nkql7y2YFCcIXVq5ORvdvMtYzfZdG
- bundle exec rspec
- bundle exec rspec --fail-fast=3
- npm run typecheck
- npm run test
- npm run coverage

View File

@ -14,7 +14,7 @@
"heroku-postbuild": "webpack --config=./config/webpack.prod.js",
"dev": "PORT=3000 bundle exec foreman start --procfile=Procfile.dev",
"webpack": "./node_modules/.bin/webpack-dev-server --config config/webpack.config.js --host 0.0.0.0",
"test": "jest --coverage --no-cache",
"test": "jest --coverage --no-cache --bail",
"typecheck": "tsc --noEmit --jsx preserve"
},
"keywords": [