Skip to content

Commit eaa28fb

Browse files
authored
fix(build): Fix build in Travis CI (#101)
* fix(build): Fix build
1 parent 5ca6740 commit eaa28fb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.travis.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sudo: required
44
language: go
55

66
go:
7-
- "1.14"
7+
- "1.20.x"
88

99
env:
1010
- DEPLOY_DOCS="$(if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo -n 'true' ; else echo -n 'false' ; fi)"
@@ -14,8 +14,10 @@ services:
1414

1515
install:
1616
- docker pull mysql:8.0
17-
- go get golang.org/x/lint/golint
18-
- go get github.com/kisielk/errcheck
17+
- go install golang.org/x/lint/golint@latest
18+
- go install github.com/kisielk/errcheck@latest
19+
- go get github.com/spf13/[email protected]
20+
- go get github.com/fsnotify/[email protected]
1921

2022
# With the "docker" tag enabled on go test invocation (-tags docker)
2123
# the mysql:5.6 docker container will be started

0 commit comments

Comments
 (0)