mirror of https://github.com/go-redis/redis.git
Fixing travis build
This commit is contained in:
parent
8cef6c00f2
commit
1a56e736aa
|
@ -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 &
|
||||
|
|
|
@ -30,7 +30,7 @@ func ExampleNewTCPClient() {
|
|||
|
||||
func ExampleNewFailoverClient() {
|
||||
client := redis.NewFailoverClient(&redis.FailoverOptions{
|
||||
MasterName: "mymaster",
|
||||
MasterName: "master",
|
||||
SentinelAddrs: []string{":26379"},
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue