From 1a56e736aa4acfd791a32fa9918bb4d28c02b473 Mon Sep 17 00:00:00 2001 From: Dimitrij Denissenko Date: Sun, 25 Jan 2015 12:33:30 +0000 Subject: [PATCH] Fixing travis build --- .travis.yml | 4 ++-- example_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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"}, })