27 lines
345 B
YAML
27 lines
345 B
YAML
language: go
|
|
|
|
install:
|
|
- go get -d -t -v ./... && go build -v ./...
|
|
|
|
go:
|
|
- 1.9.x
|
|
- 1.10.x
|
|
- 1.11.x
|
|
- 1.12.x
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
env:
|
|
matrix:
|
|
- GOARCH=amd64
|
|
- GOARCH=386
|
|
|
|
script:
|
|
- go vet ./...
|
|
- go test ./... -v -coverprofile=coverage.txt -covermode=atomic
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|