diff --git a/.travis.yml b/.travis.yml index 800e2bbc..e1f63234 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 & diff --git a/example_test.go b/example_test.go index 8e9e5122..dbc95131 100644 --- a/example_test.go +++ b/example_test.go @@ -30,7 +30,7 @@ func ExampleNewTCPClient() { func ExampleNewFailoverClient() { client := redis.NewFailoverClient(&redis.FailoverOptions{ - MasterName: "mymaster", + MasterName: "master", SentinelAddrs: []string{":26379"}, })