Skip to content

Commit 63d343e

Browse files
Sergio Andrés Virviescas SantanaSergio Andres Virviescas Santana
Sergio Andrés Virviescas Santana
and
Sergio Andres Virviescas Santana
authored
Update CI to use latest versions of Go (#21)
Co-authored-by: Sergio Andres Virviescas Santana <[email protected]>
1 parent cdfbe93 commit 63d343e

File tree

2 files changed

+26
-10
lines changed

2 files changed

+26
-10
lines changed

.travis.yml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,29 @@
11
language: go
22

3+
os:
4+
- linux
5+
- osx
6+
- windows
7+
38
go:
4-
- 1.6
9+
- 1.15.x
10+
- 1.14.x
11+
- 1.13.x
12+
- 1.12.x
13+
- tip
514

615
script:
7-
# build test for supported platforms
8-
- GOOS=linux go build
9-
- GOOS=darwin go build
10-
- GOOS=freebsd go build
11-
- GOOS=windows go build
12-
- GOARCH=386 go build
13-
14-
# run tests on a standard platform
15-
- go test -v ./...
16+
- go test -v -cover -race ./...
17+
18+
jobs:
19+
allow_failures:
20+
- go: tip
21+
22+
include:
23+
- stage: cross compilation
24+
script:
25+
- GOOS=linux go build
26+
- GOOS=darwin go build
27+
- GOOS=freebsd go build
28+
- GOOS=windows go build
29+
- GOARCH=386 go build

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/valyala/bytebufferpool
2+
3+
go 1.12

0 commit comments

Comments
 (0)