From 2033b73551ffcba0002bfec84cfefc4b53b144fe Mon Sep 17 00:00:00 2001 From: Javier Provecho Fernandez Date: Tue, 6 Dec 2016 19:53:58 +0100 Subject: [PATCH 1/3] Migrate from godeps to govendor --- Godeps/Godeps.json | 36 ---------------------------------- vendor/vendor.json | 49 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 36 deletions(-) delete mode 100644 Godeps/Godeps.json create mode 100644 vendor/vendor.json diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json deleted file mode 100644 index a9c828a..0000000 --- a/Godeps/Godeps.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "ImportPath": "github.com/gin-gonic/gin", - "GoVersion": "go1.5.1", - "Deps": [ - { - "ImportPath": "github.com/davecgh/go-spew/spew", - "Rev": "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d" - }, - { - "ImportPath": "github.com/golang/protobuf/proto", - "Rev": "2402d76f3d41f928c7902a765dfc872356dd3aad" - }, - { - "ImportPath": "github.com/manucorporat/sse", - "Rev": "ee05b128a739a0fb76c7ebd3ae4810c1de808d6d" - }, - { - "ImportPath": "github.com/pmezard/go-difflib/difflib", - "Rev": "792786c7400a136282c1664665ae0a8db921c6c2" - }, - { - "ImportPath": "github.com/stretchr/testify/assert", - "Comment": "v1.1.3", - "Rev": "f390dcf405f7b83c997eac1b06768bb9f44dec18" - }, - { - "ImportPath": "golang.org/x/net/context", - "Rev": "f315505cf3349909cdf013ea56690da34e96a451" - }, - { - "ImportPath": "gopkg.in/go-playground/validator.v8", - "Comment": "v8.15.1", - "Rev": "c193cecd124b5cc722d7ee5538e945bdb3348435" - } - ] -} diff --git a/vendor/vendor.json b/vendor/vendor.json new file mode 100644 index 0000000..3f60f40 --- /dev/null +++ b/vendor/vendor.json @@ -0,0 +1,49 @@ +{ + "comment": "", + "ignore": "test", + "package": [ + { + "path": "github.com/davecgh/go-spew/spew", + "revision": "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d" + }, + { + "path": "github.com/golang/protobuf/proto", + "revision": "2402d76f3d41f928c7902a765dfc872356dd3aad" + }, + { + "path": "github.com/golang/protobuf/proto/proto3_proto", + "revision": "2402d76f3d41f928c7902a765dfc872356dd3aad" + }, + { + "path": "github.com/golang/protobuf/proto/testdata", + "revision": "2402d76f3d41f928c7902a765dfc872356dd3aad" + }, + { + "path": "github.com/golang/protobuf/protoc-gen-go/descriptor", + "revision": "2402d76f3d41f928c7902a765dfc872356dd3aad" + }, + { + "path": "github.com/manucorporat/sse", + "revision": "ee05b128a739a0fb76c7ebd3ae4810c1de808d6d" + }, + { + "path": "github.com/pmezard/go-difflib/difflib", + "revision": "792786c7400a136282c1664665ae0a8db921c6c2" + }, + { + "comment": "v1.1.3", + "path": "github.com/stretchr/testify/assert", + "revision": "f390dcf405f7b83c997eac1b06768bb9f44dec18" + }, + { + "path": "golang.org/x/net/context", + "revision": "f315505cf3349909cdf013ea56690da34e96a451" + }, + { + "comment": "v8.15.1", + "path": "gopkg.in/go-playground/validator.v8", + "revision": "c193cecd124b5cc722d7ee5538e945bdb3348435" + } + ], + "rootPath": "github.com/gin-gonic/gin" +} From 44529e4a348c1d76594237677cec72eaa2753beb Mon Sep 17 00:00:00 2001 From: Javier Provecho Fernandez Date: Tue, 6 Dec 2016 23:53:49 +0100 Subject: [PATCH 2/3] Update vendor.json --- vendor/vendor.json | 80 +++++++++++++++++++++++++++++++++------------- 1 file changed, 58 insertions(+), 22 deletions(-) diff --git a/vendor/vendor.json b/vendor/vendor.json index 3f60f40..3c6b0ed 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -1,48 +1,84 @@ { - "comment": "", + "comment": "v1.1.4", "ignore": "test", "package": [ { + "checksumSHA1": "dvabztWVQX8f6oMLRyv4dLH+TGY=", + "comment": "v1.1.0", "path": "github.com/davecgh/go-spew/spew", - "revision": "5215b55f46b2b919f50a1df0eaa5886afe4e3b3d" + "revision": "346938d642f2ec3594ed81d874461961cd0faa76", + "revisionTime": "2016-10-29T20:57:26Z" }, { + "checksumSHA1": "7c3FuEadBInl/4ExSrB7iJMXpe4=", + "path": "github.com/dustin/go-broadcast", + "revision": "3bdf6d4a7164a50bc19d5f230e2981d87d2584f1", + "revisionTime": "2014-06-27T04:00:55Z" + }, + { + "checksumSHA1": "kBeNcaKk56FguvPSUCEaH6AxpRc=", "path": "github.com/golang/protobuf/proto", - "revision": "2402d76f3d41f928c7902a765dfc872356dd3aad" - }, - { - "path": "github.com/golang/protobuf/proto/proto3_proto", - "revision": "2402d76f3d41f928c7902a765dfc872356dd3aad" - }, - { - "path": "github.com/golang/protobuf/proto/testdata", - "revision": "2402d76f3d41f928c7902a765dfc872356dd3aad" - }, - { - "path": "github.com/golang/protobuf/protoc-gen-go/descriptor", - "revision": "2402d76f3d41f928c7902a765dfc872356dd3aad" + "revision": "8ee79997227bf9b34611aee7946ae64735e6fd93", + "revisionTime": "2016-11-17T03:31:26Z" }, { + "checksumSHA1": "b0T0Hzd+zYk+OCDTFMps+jwa/nY=", "path": "github.com/manucorporat/sse", - "revision": "ee05b128a739a0fb76c7ebd3ae4810c1de808d6d" + "revision": "ee05b128a739a0fb76c7ebd3ae4810c1de808d6d", + "revisionTime": "2016-01-26T18:01:36Z" }, { + "checksumSHA1": "9if9IBLsxkarJ804NPWAzgskIAk=", + "path": "github.com/manucorporat/stats", + "revision": "8f2d6ace262eba462e9beb552382c98be51d807b", + "revisionTime": "2015-05-31T20:46:25Z" + }, + { + "checksumSHA1": "xZuhljnmBysJPta/lMyYmJdujCg=", + "path": "github.com/mattn/go-isatty", + "revision": "30a891c33c7cde7b02a981314b4228ec99380cca", + "revisionTime": "2016-11-23T14:36:37Z" + }, + { + "checksumSHA1": "LuFv4/jlrmFNnDb/5SCSEPAM9vU=", + "comment": "v1.0.0", "path": "github.com/pmezard/go-difflib/difflib", - "revision": "792786c7400a136282c1664665ae0a8db921c6c2" + "revision": "792786c7400a136282c1664665ae0a8db921c6c2", + "revisionTime": "2016-01-10T10:55:54Z" }, { - "comment": "v1.1.3", + "checksumSHA1": "Q2V7Zs3diLmLfmfbiuLpSxETSuY=", + "comment": "v1.1.4", "path": "github.com/stretchr/testify/assert", - "revision": "f390dcf405f7b83c997eac1b06768bb9f44dec18" + "revision": "976c720a22c8eb4eb6a0b4348ad85ad12491a506", + "revisionTime": "2016-09-25T22:06:09Z" }, { + "checksumSHA1": "9jjO5GjLa0XF/nfWihF02RoH4qc=", + "comment": "release-branch.go1.7", "path": "golang.org/x/net/context", - "revision": "f315505cf3349909cdf013ea56690da34e96a451" + "revision": "d4c55e66d8c3a2f3382d264b08e3e3454a66355a", + "revisionTime": "2016-10-18T08:54:36Z" }, { - "comment": "v8.15.1", + "checksumSHA1": "8SH0adTcQlA+W5dzqiQ3Hft2VXg=", + "path": "golang.org/x/sys/unix", + "revision": "478fcf54317e52ab69f40bb4c7a1520288d7f7ea", + "revisionTime": "2016-12-05T15:46:50Z" + }, + { + "checksumSHA1": "39V1idWER42Lmcmg2Uy40wMzOlo=", + "comment": "v8.18.1", "path": "gopkg.in/go-playground/validator.v8", - "revision": "c193cecd124b5cc722d7ee5538e945bdb3348435" + "revision": "5f57d2222ad794d0dffb07e664ea05e2ee07d60c", + "revisionTime": "2016-07-18T13:41:25Z" + }, + { + "checksumSHA1": "12GqsW8PiRPnezDDy0v4brZrndM=", + "comment": "v2", + "path": "gopkg.in/yaml.v2", + "revision": "a5b47d31c556af34a302ce5d659e6fea44d90de0", + "revisionTime": "2016-09-28T15:37:09Z" } ], "rootPath": "github.com/gin-gonic/gin" From abcbfb5d68b49ebf96b24c0eff637806176cb4f1 Mon Sep 17 00:00:00 2001 From: Javier Provecho Fernandez Date: Tue, 6 Dec 2016 23:54:11 +0100 Subject: [PATCH 3/3] Update .travis.yml --- .travis.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 53f436f..e6a05bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,17 @@ language: go sudo: false go: - - 1.4 - - 1.5.4 - 1.6.4 - 1.7.4 - tip +git: + depth: 3 + +install: + - go get -v github.com/kardianos/govendor + - govendor sync + script: - go test -v -covermode=count -coverprofile=coverage.out