dependencies:
  pre:
    - npm install -g cypress-cli
test:
  override:
    - npm test
    - npm start -- --silent
      background: true
    - cypress ci # requires CYPRESS_CI_KEY (https://docs.cypress.io/docs/continuous-integration#section-acquire-a-cypress-secret-key)
dependencies:
  pre:
    - npm install -g cypress-cli
    - npm install -g forever
test:
  override:
    - npm test
    - forever start server.js
    - cypress ci # requires CYPRESS_CI_KEY (https://docs.cypress.io/docs/continuous-integration#section-acquire-a-cypress-secret-key)
Use forever package to run node in the background for cypress
Use forever package to run node in the background for cypress
