Skip to content

Commit

Permalink
Merge pull request #34 from wojteninho/dep
Browse files Browse the repository at this point in the history
Upgrade to dep v0.5.0
  • Loading branch information
Yasss authored Sep 6, 2018
2 parents 67096f8 + cce0451 commit 900e172
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
vendor/
glide.lock
23 changes: 11 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,24 @@ language: go
services:
- docker

go:
- 1.9.x
- 1.10.x
- tip

env:
- VAULT_ADDR=http://127.0.0.1:8200

before_install:
- mkdir -p $GOPATH/bin
- wget -O $GOPATH/bin/dep "https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64"
- wget -O $GOPATH/bin/dep "https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64"
- chmod +x $GOPATH/bin/dep
- export PATH="$GOPATH/bin:$PATH"
- docker run -d -p 2379:2379 quay.io/coreos/etcd /usr/local/bin/etcd -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379
- docker run -d -p 8500:8500 --name consul consul
- docker run -d -p 8200:8200 --cap-add=IPC_LOCK -e 'VAULT_DEV_ROOT_TOKEN_ID=root' -e 'VAULT_DEV_LISTEN_ADDRESS=0.0.0.0:8200' vault:0.9.6

env:
- VAULT_ADDR=http://127.0.0.1:8200


install: dep ensure

go:
- 1.9
- "1.10"
- tip
install: dep ensure -v -vendor-only

script:
- go test -v -race -cover -timeout=1m ./...
- go test -v -race -cover -timeout=1m ./...

0 comments on commit 900e172

Please sign in to comment.