diff --git a/.travis.yml b/.travis.yml index 6a2da63db..8e3525b59 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,17 @@ go: - tip env: -- CGO_ENABLED=0 + - CGO_ENABLED=0 + +before_install: + # Decrypts a script that installs an authenticated cookie + # for git to use when cloning from googlesource.com. + # Bypasses "bandwidth limit exceeded" errors. + # See github.com/golang/go/issues/12933 + - openssl aes-256-cbc -K $encrypted_3df18f9af81d_key -iv $encrypted_3df18f9af81d_iv -in dist/gitcookie.sh.enc -out dist/gitcookie.sh -d install: + - bash dist/gitcookie.sh - go get -t ./... - go get golang.org/x/tools/cmd/vet diff --git a/dist/gitcookie.sh.enc b/dist/gitcookie.sh.enc new file mode 100644 index 000000000..1a51f392b --- /dev/null +++ b/dist/gitcookie.sh.enc @@ -0,0 +1,3 @@ +( #劕- Dr}`:,0@9pK8Z ˎVm0^B%լ@9]lП)8"Z_͑:g7v]7#`޸'޾ޅǦB9z^'5\*N +k~= w^$-Df(*Cd/uk _vM U+LgJ#[] +.wQ/٫B\BJi'"v{y)x\8'2렋ta}