mirror of
https://github.com/valyala/bytebufferpool.git
synced 2026-06-14 13:26:35 +03:00
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:
committed by
GitHub
parent
cdfbe93774
commit
63d343e1f9
+23
-9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user