fix ci
only support 1.13+
This commit is contained in:
parent
f64deea851
commit
f2a8922819
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
@ -7,7 +7,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: ["1.11.x", "1.12.x", "1.13.x", "1.14.x"]
|
||||
go-version: ["1.13.x", "1.14.x"]
|
||||
|
||||
steps:
|
||||
- name: Set up Go ${{matrix.go-version}}
|
||||
|
20
.travis.yml
20
.travis.yml
@ -1,16 +1,16 @@
|
||||
language: go
|
||||
|
||||
go:
|
||||
- 1.11.x
|
||||
- 1.12.x
|
||||
- 1.13.x
|
||||
- 1.14.x
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- go: 1.13.x
|
||||
- go: 1.14.x
|
||||
- go: master
|
||||
|
||||
before_install:
|
||||
- go get -v ./...
|
||||
|
||||
install:
|
||||
- go get -t -v ./...
|
||||
|
||||
script:
|
||||
- go test -v -benchmem -test.bench=".*" -coverprofile=coverage.txt -covermode=atomic ./...
|
||||
|
||||
- go test -v -benchmem -test.bench=".*" -coverprofile=coverage.txt -covermode=atomic ./...
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
Loading…
Reference in New Issue
Block a user