Skip to content

Commit

Permalink
travis: specify go version with the latest v1.13.x
Browse files Browse the repository at this point in the history
Recently, We have updated Go to v1.13.x in kata, and the go compiler
in travis ci testing environment should follow this update too.

Fixes: kata-containers#2434

Signed-off-by: Penny Zheng <[email protected]>
  • Loading branch information
Pennyzct committed Apr 3, 2020
1 parent 79af490 commit 34e5579
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ matrix:
- os: osx

language: go
# The Go compiler in travis ci testing environment should be
# consistent with the tested project.
go:
- 1.13.x
go_import_path: github.com/kata-containers/tests

env:
Expand All @@ -27,7 +31,6 @@ env:
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then .ci/setup.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_retry brew install bash yamllint gnu-getopt; fi
- bash .ci/install_go.sh -p -f

script:
- bash .ci/static-checks.sh github.com/kata-containers/tests

0 comments on commit 34e5579

Please sign in to comment.