general:
  branches:
    ignore:
      - gh-pages
machine:
  node:
    version: 6.1.0
test:
  override:
    - npm test
  post:
      - mkdir -p $CIRCLE_TEST_REPORTS/junit/
      - find . -type f -regex ".*/test_out/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
      - cat ./reports/report-lcov/lcov.info | ./node_modules/coveralls/bin/coveralls.js
deployment:
  npm:
    branch: master
    commands:
      - npm run dist
      - npm prune
      - npm run semantic-release