From cdfbe9377474227bb42120c1e22fd4433e7f69bf Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 5 Sep 2018 21:22:47 +0300 Subject: [PATCH 1/3] Added go1.11 module support --- go.mod | 1 + 1 file changed, 1 insertion(+) create mode 100644 go.mod diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..0b713ec --- /dev/null +++ b/go.mod @@ -0,0 +1 @@ +module github.com/valyala/bytebufferpool From 63d343e1f92e0d5803b2b63d50712be6214daf7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Andr=C3=A9s=20Virviescas=20Santana?= Date: Sat, 17 Oct 2020 11:12:25 +0200 Subject: [PATCH 2/3] Update CI to use latest versions of Go (#21) Co-authored-by: Sergio Andres Virviescas Santana --- .travis.yml | 34 ++++++++++++++++++++++++---------- go.mod | 2 ++ 2 files changed, 26 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6a6ec2e..98bc26f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 - - # run tests on a standard platform - - go test -v ./... + - go test -v -cover -race ./... + +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 diff --git a/go.mod b/go.mod index 0b713ec..be783c1 100644 --- a/go.mod +++ b/go.mod @@ -1 +1,3 @@ module github.com/valyala/bytebufferpool + +go 1.12 From 18533face0dfe7042f8157bba9010bd7f8df54b1 Mon Sep 17 00:00:00 2001 From: asellappen <31274494+asellappen@users.noreply.github.com> Date: Thu, 5 Nov 2020 01:08:30 +0530 Subject: [PATCH 3/3] Add poweron architecture ppc64le to travis build (#22) --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 98bc26f..0abce00 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: go - +arch: + - amd64 + - ppc64le os: - linux - osx