diff --git a/.travis.yml b/.travis.yml index 57675924..32ac6537 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,4 +13,5 @@ install: - go get github.com/golang/glog - go get gopkg.in/bufio.v1 - go get gopkg.in/check.v1 - - go get gopkg.in/redis.v1 + - mkdir -p $HOME/gopath/src/gopkg.in + - ln -s `pwd` $HOME/gopath/src/gopkg.in/redis.v2 diff --git a/Makefile b/Makefile index c40536a1..f9571a4e 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ all: - go test gopkg.in/redis.v1 + go test gopkg.in/redis.v2 diff --git a/example_test.go b/example_test.go index f4f93fb7..0b283faa 100644 --- a/example_test.go +++ b/example_test.go @@ -4,7 +4,7 @@ import ( "fmt" "strconv" - "gopkg.in/redis.v1" + "gopkg.in/redis.v2" ) var client *redis.Client diff --git a/redis_test.go b/redis_test.go index 6d240c93..0fa40c30 100644 --- a/redis_test.go +++ b/redis_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "gopkg.in/redis.v1" + "gopkg.in/redis.v2" . "gopkg.in/check.v1" )