Update CI to use latest versions of Go (#21)

Co-authored-by: Sergio Andres Virviescas Santana <sergio@mbp-savsgio.local>
This commit is contained in:
Sergio Andrés Virviescas Santana
2020-10-17 11:12:25 +02:00
committed by GitHub
parent cdfbe93774
commit 63d343e1f9
2 changed files with 25 additions and 9 deletions
+23 -9
View File
@@ -1,15 +1,29 @@
language: go
os:
- linux
- osx
- windows
go:
- 1.6
- 1.15.x
- 1.14.x
- 1.13.x
- 1.12.x
- tip
script:
# build test for supported platforms
- GOOS=linux go build
- GOOS=darwin go build
- GOOS=freebsd go build
- GOOS=windows go build
- GOARCH=386 go build
- go test -v -cover -race ./...
# run tests on a standard platform
- go test -v ./...
jobs:
allow_failures:
- go: tip
include:
- stage: cross compilation
script:
- GOOS=linux go build
- GOOS=darwin go build
- GOOS=freebsd go build
- GOOS=windows go build
- GOARCH=386 go build
+2
View File
@@ -1 +1,3 @@
module github.com/valyala/bytebufferpool
go 1.12