2019-10-04 15:21:24 +00:00
|
|
|
language: go
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
go: 1.5.x
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
go: 1.6.x
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
go: 1.7.x
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
go: 1.8.x
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
go: 1.9.x
|
|
|
|
- os: linux
|
|
|
|
dist: xenial
|
|
|
|
go: 1.9.x
|
|
|
|
- os: linux
|
|
|
|
dist: xenial
|
|
|
|
go: 1.10.x
|
|
|
|
- os: linux
|
|
|
|
dist: xenial
|
|
|
|
go: 1.11.x
|
|
|
|
- os: linux
|
|
|
|
dist: xenial
|
|
|
|
go: 1.12.x
|
|
|
|
- os: osx
|
|
|
|
go: 1.12.x
|
|
|
|
- os: linux
|
2020-02-10 11:22:37 +00:00
|
|
|
dist: bionic
|
|
|
|
go: 1.13.x
|
2019-10-04 15:21:24 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
env:
|
|
|
|
- docker
|
|
|
|
script:
|
|
|
|
- docker build -f Dockerfile.ubuntu .
|
|
|
|
- docker build -f Dockerfile.alpine .
|
|
|
|
|
|
|
|
script:
|
|
|
|
- go install ./...
|
|
|
|
- go test -v ./...
|
|
|
|
- CGO_ENABLED=0 go install ./...
|
|
|
|
- CGO_ENABLED=0 go test -v ./...
|