dependencies:
  pre:
    - npm install -g cypress-cli
    - npm install -g forever
    - cypress install
test:
  override:
    - npm test
    - forever start server.js
    - cypress run # requires CYPRESS_CI_KEY (https://docs.cypress.io/docs/continuous-integration#section-acquire-a-cypress-secret-key)
machine:
  node:
    version: 5.10.0
dependencies:
  post:
    - npm install -g cypress-cli
    - npm install -g forever
    - cypress install
test:
  pre:
    - npm start:
        background: true
  override:
    - npm test
    - cypress ci # requires CYPRESS_CI_KEY (https://docs.cypress.io/docs/continuous-integration#section-acquire-a-cypress-secret-key)
Fix node version to 5.10.0 to fix cypress command getting stuck
Fix node version to 5.10.0 to fix cypress command getting stuck
