You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
636 B

8 years ago
  1. machine:
  2. environment:
  3. GOPATH: /home/ubuntu/.go_workspace
  4. REPO: $GOPATH/src/github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME
  5. GO15VENDOREXPERIMENT: 1
  6. hosts:
  7. circlehost: 127.0.0.1
  8. localhost: 127.0.0.1
  9. checkout:
  10. post:
  11. - rm -rf $REPO
  12. - mkdir -p $HOME/.go_workspace/src/github.com/$CIRCLE_PROJECT_USERNAME
  13. - mv $HOME/$CIRCLE_PROJECT_REPONAME $REPO
  14. - go version
  15. test:
  16. override:
  17. - cd $REPO && make get_vendor_deps && make test_integrations
  18. post:
  19. - cd "$REPO" && bash <(curl -s https://codecov.io/bash) -f coverage.txt
  20. - cd "$REPO" && mv coverage.txt "${CIRCLE_ARTIFACTS}"