machine:
  node:
    version: v6.1.0

dependencies:
  pre:
    # Install Yarn
    - sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
    - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
    - sudo apt-get update -qq
    - sudo apt-get install -y -qq yarn
  cache_directories:
    - "~/.yarn-cache"
  override:
    - yarn install
    - node ./node_modules/selenium-standalone/bin/selenium-standalone install

test:
  override:
    - npm start ci.lint
    - npm start ci.test
    - npm start ci.cov
    - npm start ci.e2e

  post:
    - npm start ci.codecov

machine:
  node:
    version: 6

dependencies:
  pre:
    # Install Yarn
    - sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
    - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
    - sudo apt-get update -qq
    - sudo apt-get install -y -qq yarn
  cache_directories:
    - "~/.yarn-cache"
  override:
    - yarn install
    - node ./node_modules/selenium-standalone/bin/selenium-standalone install

test:
  override:
    - npm start ci.lint
    - npm start ci.test
    - npm start ci.cov
    - npm start ci.e2e

  post:
    - npm start ci.codecov

Set node version to 6
Set node version to 6
