machine:
  node:
    version: 4.1.2

general:
  artifacts:
    - $CIRCLE_TEST_REPORTS

test:
  override:
    - npm run rebuild:push
    - NODE_ENV=test ./node_modules/.bin/mocha --recursive --compilers js:babel-register --reporter mocha-junit-reporter --reporter-options mochaFile=$CIRCLE_TEST_REPORTS/junit/results.xml

machine:
  node:
    version: 4.1.2

general:
  artifacts:
    - $CIRCLE_TEST_REPORTS

test:
  override:
    - NODE_ENV=test ./node_modules/.bin/mocha --recursive --compilers js:babel-register --reporter mocha-junit-reporter --reporter-options mochaFile=$CIRCLE_TEST_REPORTS/junit/results.xml

Remove rebuild from build script
Remove rebuild from build script
