Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
dump.rdb
.idea/
vendor/
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ before_install:
- go get github.com/mattn/goveralls
- go get github.com/golang/lint/golint
- go get github.com/GeertJohan/fgt
- go get -u github.com/golang/dep/cmd/dep
# ca-certificates is needed for wget to work properly
- sudo apt-get install ca-certificates

install:
- dep ensure

before_script:
- script/travis_consul.sh 0.9.2
- script/travis_etcd.sh 3.2.5
Expand All @@ -28,7 +32,7 @@ script:
- ./redis/src/redis-server &
- script/validate-gofmt
- go vet ./...
- fgt golint ./...
- fgt golint . store testutils
- go test -v -race ./...
- script/coverage
- goveralls -service=travis-ci -coverprofile=goverage.report
125 changes: 125 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 63 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@

# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"

ignored = ["github.com/docker/libkv", "github.com/docker/libkv/store", "github.com/docker/libkv/testutils"]

[[constraint]]
name = "github.com/boltdb/bolt"
version = "1.3.1"

[[constraint]]
name = "github.com/coreos/etcd"
version = "3.2.7"

[[constraint]]
name = "github.com/hashicorp/consul"
version = "0.9.3"

[[constraint]]
branch = "master"
name = "github.com/samuel/go-zookeeper"

[[constraint]]
name = "github.com/stretchr/testify"
version = "1.1.4"

[[constraint]]
revision = "c8c74377599bd978aee1cf3b9b63a8634051cec2"
name = "golang.org/x/net"

[[constraint]]
name = "gopkg.in/redis.v5"
version = "5.2.9"

[[override]]
name = "github.com/ugorji/go"
revision = "8c0409fcbb70099c748d71f714529204975f6c3f"

[[override]]
name = "google.golang.org/grpc"
revision = "8050b9cbc271307e5a716a9d782803d09b0d6f2d"

[[override]]
name = "golang.org/x/text"
revision = "4ee4af566555f5fbe026368b75596286a312663a"