Fixing travis build

This commit is contained in:
Dimitrij Denissenko 2015-01-25 12:33:30 +00:00
parent 8cef6c00f2
commit 1a56e736aa
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,6 @@ services:
- redis-server
go:
- 1.1
- 1.2
- 1.3
- 1.4
@ -15,7 +14,8 @@ install:
- go get github.com/onsi/ginkgo
- go get github.com/onsi/gomega
- mkdir -p $HOME/gopath/src/gopkg.in
- ln -s `pwd` $HOME/gopath/src/gopkg.in/redis.v2
- mv $HOME/gopath/src/github.com/go-redis/redis $HOME/gopath/src/gopkg.in/redis.v2
- cd $HOME/gopath/src/gopkg.in/redis.v2
before_script:
- redis-server testdata/sentinel.conf --sentinel &

View File

@ -30,7 +30,7 @@ func ExampleNewTCPClient() {
func ExampleNewFailoverClient() {
client := redis.NewFailoverClient(&redis.FailoverOptions{
MasterName: "mymaster",
MasterName: "master",
SentinelAddrs: []string{":26379"},
})