Skip to content

Commit

Permalink
fix(ci): change the environment for Cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorainville committed Feb 22, 2018
1 parent 5ea7219 commit ef5a537
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:7.10
- image: cypress/base:6
environment:
TERM: xterm

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
Expand Down Expand Up @@ -52,8 +54,11 @@ jobs:
command: cd ./demo/ && npm run serve
background: true

# wait for the webserver to be started in a little hacky way
- run: sleep 5

# run tests!
- run: cd ./demo/ && npx cypress run
- run: cd ./demo/ && npm run e2e
- run: cd ./demo/ && npm run build

- run: git status

0 comments on commit ef5a537

Please sign in to comment.