travis: switch to unencrypted cookie
Otherwise rate limiting fix does not work for PRs from forks
This commit is contained in:
parent
910a7fca98
commit
d38ee00039
|
@ -2,9 +2,6 @@ sudo: false
|
||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- 1.6
|
- 1.6
|
||||||
before_install:
|
|
||||||
- openssl aes-256-cbc -K $encrypted_409871ff96c7_key -iv $encrypted_409871ff96c7_iv
|
|
||||||
-in scripts/gogetcookie.sh.enc -out scripts/gogetcookie.sh -d
|
|
||||||
install:
|
install:
|
||||||
# This script is used by the Travis build to install a cookie for
|
# This script is used by the Travis build to install a cookie for
|
||||||
# go.googlesource.com so rate limits are higher when using `go get` to fetch
|
# go.googlesource.com so rate limits are higher when using `go get` to fetch
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
touch ~/.gitcookies
|
||||||
|
chmod 0600 ~/.gitcookies
|
||||||
|
|
||||||
|
git config --global http.cookiefile ~/.gitcookies
|
||||||
|
|
||||||
|
tr , \\t <<\__END__ >>~/.gitcookies
|
||||||
|
.googlesource.com,TRUE,/,TRUE,2147483647,o,git-paul.hashicorp.com=1/z7s05EYPudQ9qoe6dMVfmAVwgZopEkZBb1a2mA5QtHE
|
||||||
|
__END__
|
Binary file not shown.
Loading…
Reference in New Issue