27 lines
346 B
YAML
27 lines
346 B
YAML
language: go
|
|
|
|
install:
|
|
- go get -d -t -v ./... && go build -v ./...
|
|
|
|
go:
|
|
- 1.10.x
|
|
- 1.11.x
|
|
- 1.12.x
|
|
- 1.13.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)
|