mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-29 17:50:23 +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:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
go: 1.13.x
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- GOLANGCI_VERSION=v1.21.0
|
- GOLANGCI_VERSION=v1.21.0
|
||||||
@ -36,6 +34,9 @@ env:
|
|||||||
- CEPH_CSI_RUN_ALL_TESTS=true
|
- CEPH_CSI_RUN_ALL_TESTS=true
|
||||||
|
|
||||||
before_install:
|
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
|
- mkdir -p $GOPATH/bin
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
Loading…
Reference in New Issue
Block a user