machine:
  node:
    version: 6.0
  environment:
      PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"

dependencies:
  override:
    - yarn
  cache_directories:
    - ~/.cache/yarn

test:
  override:
    - nvm use 6.0; yarn run test
    - nvm use 7.0; yarn run test
    - nvm use 7.2; yarn run test
    - nvm use latest; yarn run test

machine:
  node:
    version: 6.0
  environment:
      PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"

dependencies:
  override:
    - yarn
  cache_directories:
    - ~/.cache/yarn

test:
  override:
    - nvm use 6.0; yarn run test
    - nvm use 7.0; yarn run test
    - nvm use 7.2; yarn run test
    - nvm use latest; yarn run test
  post:
    - bash <(curl -s https://codecov.io/bash)

Add posting to codecov post-test
ci: Add posting to codecov post-test
