circle.yml 766 B

1234567891011121314151617181920212223242526272829
  1. # circle.yml #
  2. # machine:
  3. # go:
  4. # version: 1.9.1
  5. version: 2
  6. jobs:
  7. build:
  8. docker:
  9. - image: govgo/go:1.10.3
  10. working_directory: /gopath/src/github.com/go-ego/gpy
  11. steps:
  12. - checkout
  13. # specify any bash command here prefixed with `run: `
  14. - run: go get -u github.com/mattn/go-isatty
  15. - run: go get -u github.com/axw/gocov/gocov
  16. - run: go get -u github.com/mattn/goveralls
  17. - run: go get -v -t -d ./...
  18. - run: go test -v ./...
  19. # codecov.io
  20. - run: go test -v -covermode=count -coverprofile=coverage.out
  21. - run: bash <(curl -s https://codecov.io/bash)
  22. # test:
  23. # post:
  24. # - go test -v -covermode=count -coverprofile=coverage.out
  25. # - bash <(curl -s https://codecov.io/bash)