only support 1.13+
This commit is contained in:
mo 2020-08-05 14:47:08 +08:00
parent f64deea851
commit f2a8922819
2 changed files with 11 additions and 11 deletions

@ -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}}

@ -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)