circle.yml 404 B

1234567891011121314151617
  1. machine:
  2. timezone:
  3. America/Los_Angeles
  4. # Output the test output to circle.
  5. test:
  6. pre:
  7. - go get -u github.com/jstemmer/go-junit-report
  8. override:
  9. - go test -coverprofile=coverage.out -v -race ./... > test.out
  10. - cat test.out | go-junit-report > report.xml
  11. - go tool cover -func=coverage.out
  12. post:
  13. - mv test.out $CIRCLE_ARTIFACTS/
  14. - mv report.xml $CIRCLE_TEST_REPORTS/