25 lines
611 B
YAML
25 lines
611 B
YAML
# circle.yml #
|
|
# machine:
|
|
# go:
|
|
# version: 1.9.1
|
|
|
|
version: 2
|
|
|
|
jobs:
|
|
build:
|
|
docker:
|
|
# - image: golang:1.10.1
|
|
- image: govgo/go:1.10.3
|
|
working_directory: /gopath/src/github.com/go-ego/gse
|
|
steps:
|
|
- checkout
|
|
# specify any bash command here prefixed with `run: `
|
|
# - run: go get -u github.com/go-ego/cedar
|
|
# - run: go get -u github.com/go-ego/gse
|
|
- 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)
|
|
|
|
|