machine:
  node:
    version: 0.10.44

test:
  override:
    - npm run lint -s
    - npm run test -s
    - npm run test:func -s
    - node_modules/.bin/istanbul cover --report text --report html --report lcovonly --verbose --dir ${CIRCLE_ARTIFACTS}/coverage test

  post:
    - cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | $(npm bin)/codecov

machine:
  node:
    version: 6

test:
  override:
    - npm run lint -s
    - npm run test -s
    - npm run test:func -s
    - node_modules/.bin/istanbul cover --report text --report html --report lcovonly --verbose --dir ${CIRCLE_ARTIFACTS}/coverage test

  post:
    - cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | $(npm bin)/codecov

Use node v6 for CircleCI build
Use node v6 for CircleCI build
