Merge pull request #5763 from hashicorp/phinze/traviscookie

travis: switch to unencrypted cookie
This commit is contained in:
Paul Hinze 2016-03-21 13:48:10 -05:00
commit 4cb13efe30
3 changed files with 10 additions and 3 deletions

View File

@ -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

10
scripts/gogetcookie.sh Executable file
View File

@ -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.