2019-04-22 02:59:20 +00:00

29 lines
766 B
YAML

# circle.yml #
# machine:
# go:
# version: 1.9.1
version: 2
jobs:
build:
docker:
- image: govgo/go:1.10.3
working_directory: /gopath/src/github.com/go-ego/gpy
steps:
- checkout
# specify any bash command here prefixed with `run: `
- run: go get -u github.com/mattn/go-isatty
- run: go get -u github.com/axw/gocov/gocov
- run: go get -u github.com/mattn/goveralls
- run: go get -v -t -d ./...
- run: go test -v ./...
# codecov.io
- run: go test -v -covermode=count -coverprofile=coverage.out
- run: bash <(curl -s https://codecov.io/bash)
# test:
# post:
# - go test -v -covermode=count -coverprofile=coverage.out
# - bash <(curl -s https://codecov.io/bash)