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.
34 lines
893 B
34 lines
893 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/riot |
|
steps: |
|
- checkout |
|
# specify any bash command here prefixed with `run: ` |
|
# - run: go get -u github.com/go-ego/gse |
|
# - run: go get -u github.com/go-ego/gpy |
|
# - run: go get -u github.com/go-ego/murmur |
|
# - run: go get -u golang.org/x/sys/unix |
|
# - run: go get -u github.com/shirou/gopsutil |
|
- 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) |
|
|
|
# script: |
|
# - ./go.test.sh |
|
|
|
# test: |
|
# post: |
|
# - go test -v -covermode=count -coverprofile=coverage.out |
|
# - bash <(curl -s https://codecov.io/bash) |
|
|