machine:
  node:
    version: v0.10.40


dependencies:
  pre:
    - npm update -g npm@3

test:
  override:
    - $(npm bin)/eslint --debug . --format tap | $(npm bin)/tap-xunit > ${CIRCLE_TEST_REPORTS}/lint.xml; test ${PIPESTATUS[0]} -eq 0
    - $(npm bin)/babel-node $(npm bin)/isparta cover --report text --report lcov --report cobertura --verbose --dir ${CIRCLE_ARTIFACTS}/coverage test/index.js
    - REPORT_DIR=${CIRCLE_TEST_REPORTS} LOG_DIR=${CIRCLE_ARTIFACTS} npm run test:e2e -s

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

machine:
  node:
    version: v0.10.40


dependencies:
  pre:
    - npm update -g npm@3

test:
  override:
    - $(npm bin)/eslint --debug . --format tap | $(npm bin)/tap-xunit > ${CIRCLE_TEST_REPORTS}/lint.xml; test ${PIPESTATUS[0]} -eq 0
    - $(npm bin)/babel-node $(npm bin)/isparta cover --report text --report lcov --report cobertura --verbose --dir ${CIRCLE_TEST_REPORTS} test/index.js
    - REPORT_DIR=${CIRCLE_TEST_REPORTS} LOG_DIR=${CIRCLE_TEST_REPORTS} npm run test:e2e -s

  post:
    - cat ${CIRCLE_TEST_REPORTS}/lcov.info | $(npm bin)/coveralls || true

Move coverage reports to CIRCLE_TEST_REPORTS
Move coverage reports to CIRCLE_TEST_REPORTS
