test:
  override:
    - bin/rspec -f doc -r rspec_junit_formatter -f RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml

general:
  artifacts:
    - log
    - tmp
test:
  override:
    # leftover build artifacts can cause marshalling errors
    - "rm -Rf tmp"
    - "bin/rspec -f doc -r rspec_junit_formatter -f RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml"

general:
  artifacts:
    - log
    - tmp
Delete temp directory before every build
Delete temp directory before every build