mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-26 08:10:20 +00:00
ci: use "gimme" to install Golang in Travis CI
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
f83a065c8a
commit
33dc861f23
@ -17,8 +17,6 @@ branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
go: 1.13.x
|
||||
|
||||
env:
|
||||
global:
|
||||
- GOLANGCI_VERSION=v1.21.0
|
||||
@ -36,6 +34,9 @@ env:
|
||||
- CEPH_CSI_RUN_ALL_TESTS=true
|
||||
|
||||
before_install:
|
||||
- export GOLANG_VERSION=$(source build.env ; echo ${GOLANG_VERSION})
|
||||
- gimme ${GOLANG_VERSION}
|
||||
- source ~/.gimme/envs/go${GOLANG_VERSION}.env
|
||||
- mkdir -p $GOPATH/bin
|
||||
|
||||
before_script:
|
||||
|
Loading…
Reference in New Issue
Block a user