machine:
  node:
    version: v0.10.38


dependencies:
  pre:
    - npm update -g npm
    - npm install react@0.13

test:
  override:
    - $(npm bin)/eslint . --format tap | $(npm bin)/tap-xunit > $CIRCLE_TEST_REPORTS/lint.xml
    - COVERAGE=1 karma start ./karma.conf.js --single-run --reporters coverage,junit
    - cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | $(npm bin)/coveralls || true

machine:
  node:
    version: v0.10.38


dependencies:
  pre:
    - npm update -g npm
    - npm install react@0.13

test:
  override:
    - $(npm bin)/eslint . --format tap | $(npm bin)/tap-xunit > $CIRCLE_TEST_REPORTS/lint.xml; test ${PIPESTATUS[0]} -eq 0
    - COVERAGE=1 karma start ./karma.conf.js --single-run --reporters coverage,junit
    - cat ${CIRCLE_ARTIFACTS}/coverage/lcov.info | $(npm bin)/coveralls || true

Break the CI build on ESLint error
Break the CI build on ESLint error
