Skip to content

Commit

Permalink
Add install step for cypress in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopapereira committed Jan 14, 2019
1 parent 8ccd14e commit 5b8a214
Show file tree
Hide file tree
Showing 3 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 @@ -17,7 +17,7 @@ jobs:
key: v1-dependencies-{{ checksum "package.json" }}
- run: yarn test
- run: yarn build
- run: yarn e2e:ci
- run: yarn cypress:install && yarn e2e:ci
- run:
name: Collect test coverage
command: yarn coveralls
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ script:
- yarn
- yarn test
- yarn build
- yarn e2e:ci
- yarn cypress:install && yarn e2e:ci
- yarn coveralls
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"test": "jest",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"cypress:ci": "cypress run",
"cypress:install": "cypress install",
"e2e:local": "cypress run --headed",
"e2e:ci": "npm-run-all --parallel --race start:ci 'cypress:ci --config baseUrl=http://localhost:8082'",
"start:ci": "webpack-dev-server --config ./webpack.config.js --port 8082 --mode production"
Expand Down

0 comments on commit 5b8a214

Please sign in to comment.