From eaa28fb761c0ebe8644d1333e5d164e9cc3071e9 Mon Sep 17 00:00:00 2001 From: SihangYu Date: Thu, 3 Oct 2024 16:46:19 -0700 Subject: [PATCH] fix(build): Fix build in Travis CI (#101) * fix(build): Fix build --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index ad56741..1bebddc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ sudo: required language: go go: - - "1.14" + - "1.20.x" env: - DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)" @@ -14,8 +14,10 @@ services: install: - docker pull mysql:8.0 - - go get golang.org/x/lint/golint - - go get github.com/kisielk/errcheck + - go install golang.org/x/lint/golint@latest + - go install github.com/kisielk/errcheck@latest + - go get github.com/spf13/afero@v0.0.0-20160919210114-52e4a6cfac46 + - go get github.com/fsnotify/fsnotify@v1.3.2-0.20160816051541-f12c6236fe7b # With the "docker" tag enabled on go test invocation (-tags docker) # the mysql:5.6 docker container will be started