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
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version: ["1.11.x", "1.12.x", "1.13.x", "1.14.x"]
|
go-version: ["1.13.x", "1.14.x"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go ${{matrix.go-version}}
|
- name: Set up Go ${{matrix.go-version}}
|
||||||
|
20
.travis.yml
20
.travis.yml
@ -1,16 +1,16 @@
|
|||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
matrix:
|
||||||
- 1.11.x
|
fast_finish: true
|
||||||
- 1.12.x
|
include:
|
||||||
- 1.13.x
|
- go: 1.13.x
|
||||||
- 1.14.x
|
- go: 1.14.x
|
||||||
|
- go: master
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- go get -v ./...
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- go get -t -v ./...
|
- go test -v -benchmem -test.bench=".*" -coverprofile=coverage.txt -covermode=atomic ./...
|
||||||
|
|
||||||
script:
|
|
||||||
- go test -v -benchmem -test.bench=".*" -coverprofile=coverage.txt -covermode=atomic ./...
|
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
Loading…
Reference in New Issue
Block a user