From f2a89228190886a751942bf729ef3dcbdc302dee Mon Sep 17 00:00:00 2001 From: mo Date: Wed, 5 Aug 2020 14:47:08 +0800 Subject: [PATCH] fix ci only support 1.13+ --- .github/workflows/go.yml | 2 +- .travis.yml | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2601bf0..f8c72d2 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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}} diff --git a/.travis.yml b/.travis.yml index 7250bfd..8609998 100644 --- a/.travis.yml +++ b/.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) \ No newline at end of file