From 741aa18da9b7e3e656d6bb3af1a12358135738e0 Mon Sep 17 00:00:00 2001 From: Arthur Barr Date: Tue, 6 Feb 2018 11:44:34 +0000 Subject: [PATCH] Upgrade to dep 0.4.1 --- .travis.yml | 2 +- test/docker/Gopkg.toml | 6 +++++- test/kubernetes/Gopkg.toml | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 87fc76c..3a719b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ before_install: - sudo apt-get update - sudo apt-get -y install docker-ce - curl https://glide.sh/get | sh - - sudo curl -Lo /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64 + - sudo curl -Lo /usr/local/bin/dep https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 - sudo chmod +x /usr/local/bin/dep install: diff --git a/test/docker/Gopkg.toml b/test/docker/Gopkg.toml index 2af502b..91f7fdb 100644 --- a/test/docker/Gopkg.toml +++ b/test/docker/Gopkg.toml @@ -17,4 +17,8 @@ version = "^1.12" [[constraint]] - name = "github.com/docker/go-connections" \ No newline at end of file + name = "github.com/docker/go-connections" + +[prune] + unused-packages = true + go-tests = true diff --git a/test/kubernetes/Gopkg.toml b/test/kubernetes/Gopkg.toml index 563e25d..bea9d8a 100644 --- a/test/kubernetes/Gopkg.toml +++ b/test/kubernetes/Gopkg.toml @@ -27,3 +27,7 @@ [[constraint]] name = "k8s.io/apimachinery" branch = "release-1.7" + +[prune] + unused-packages = true + go-tests = true