language: node_js
node_js:
  - "6"
addons:
  sauce_connect: true
install:
  - npm install
before_script:
  - npm start &
script:
  - npm test && npm run e2e-sc
  - pkill node

language: node_js
node_js:
  - "6"
addons:
  sauce_connect: true
install:
  - npm install
before_script:
  - npm build && npm run demo &
script:
  - npm test && npm run e2e-sc
  - pkill node

Call proper commands before e2e test
Call proper commands before e2e test
