mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-20 03:02:46 +08:00
Bypass "bandwidth limit exceeded" errors when cloning from googlesource
cf. golang/go#12933
This commit is contained in:
parent
f23d8cb37f
commit
27f9b58c5d
10
.travis.yml
10
.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
|
||||
|
||||
|
|
3
dist/gitcookie.sh.enc
vendored
Normal file
3
dist/gitcookie.sh.enc
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
(ŮÍă#劕-óš˘
¶DÂórź<72>}`ç:ď,0î@9˛‹pźK8äZ°Ź“ËŽVm0^B%ĽŐ¬·ť@©ă9Ć]ßl†Đź)–8ł"Z<>Ö_šž›µÍ‘:g›÷Í7v‚]Ľ7#`޸'ŢľďŢ…ęǦ‘B9Ŕôz^<5E>‘'5ź\*»ÇN
|
||||
ĺkŹ~ť=€w^$Ş<08>řß-DĐŇŔf(Ć*°ÓCďdś<13>/u˘’ńk¦
ű_•ŕövM
Ëç˙ńU+ÍđLďĽgJ<67>#[Ż]
|
||||
˘.wQ/“Ů«€B‡ŕ\áB‰Ji'"v{ÂÁćšy)x·ż¨<C5BC>\đâđŹ8Äě'2°ë ‹ą<05>«ta<11>}ż<><†G7Gb I0o~Rź¨¬Ć)O
|
Loading…
Reference in New Issue
Block a user