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.
 
 
 

29 lines
766 B

# 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)