26 lines
333 B
YAML
26 lines
333 B
YAML
language: go
|
|
|
|
install:
|
|
- go get -d -t -v ./... && go build -v ./...
|
|
|
|
go:
|
|
- 1.8.x
|
|
- 1.9.x
|
|
- 1.10.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)
|