Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Fix #787: Set gitcookie for go.googlesource.com due to rate limit for…
Browse files Browse the repository at this point in the history
… dependency
  • Loading branch information
geauxvirtual committed Mar 21, 2016
1 parent 383a089 commit dc12496
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ go:
- 1.5.3
- 1.6
before_install:
- bash scripts/gitcookie.sh
- go get github.com/tools/godep
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
Expand Down
11 changes: 11 additions & 0 deletions scripts/gitcookie.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
touch ~/.gitcookies
chmod 0600 ~/.gitcookies

git config --global http.cookiefile ~/.gitcookies

tr , \\t <<\__END__ >>~/.gitcookies
go.googlesource.com,FALSE,/,TRUE,2147483647,o,git-snappytheturtle1202.gmail.com=1/4zg9qf0zy1bmnMpEnqT7IL-rcL5_y8XP7bpfYE5DzN0
go-review.googlesource.com,FALSE,/,TRUE,2147483647,o,git-snappytheturtle1202.gmail.com=1/4zg9qf0zy1bmnMpEnqT7IL-rcL5_y8XP7bpfYE5DzN0
__END__


0 comments on commit dc12496

Please sign in to comment.