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.

21 lines
606 B

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