From e4a9144b74556bcc4dffb6987f0d2598df5c9ba3 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 17 Aug 2019 23:26:33 +0800 Subject: [PATCH] chore(go): Drop Support for go1.8 and go1.9 --- .travis.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 07a0c0f..b559f0e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,22 @@ language: go sudo: false -go: - - 1.8.x - - 1.9.x - - 1.10.x - - 1.11.x - - 1.12.x - - master - matrix: fast_finish: true include: + - go: 1.10.x - go: 1.11.x env: GO111MODULE=on - go: 1.12.x env: GO111MODULE=on + - go: master + env: GO111MODULE=on + +git: + depth: 10 install: - - go get -d -t -v ./... + - if [[ "${GO111MODULE}" = "on" ]]; then go mod download; else go get -t -v ./...; fi - go get github.com/campoy/embedmd script: