From 67598f18bef6d576114475f1390e27ba4b97de64 Mon Sep 17 00:00:00 2001 From: wojteninho Date: Sat, 11 Aug 2018 18:11:19 +0400 Subject: [PATCH 1/2] Upgrade to dep v0.5.0 --- .gitignore | 1 - .travis.yml | 21 ++++++++++----------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 3421603..48b8bf9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ vendor/ -glide.lock diff --git a/.travis.yml b/.travis.yml index 194dc2f..8e10c4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 - script: - - go test -v -race -cover -timeout=1m ./... \ No newline at end of file + - go test -v -race -cover -timeout=1m ./... From cce045105d59d17146ebf9ca43ef45ebd5a82e9e Mon Sep 17 00:00:00 2001 From: wojteninho Date: Sat, 11 Aug 2018 19:20:23 +0400 Subject: [PATCH 2/2] Increase verbosity --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8e10c4e..f9ba2d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ before_install: - 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 -install: dep ensure +install: dep ensure -v -vendor-only script: - go test -v -race -cover -timeout=1m ./...