From 33c4e7f6a38aa1b620c03d75ad6179a6f7830c64 Mon Sep 17 00:00:00 2001 From: Mario Kozjak Date: Tue, 20 Jun 2017 14:54:47 +0200 Subject: [PATCH] Add vendoring. - Add vendor dependencies for better macos homebrew support - Referencing #42 - Referencing Homebrew/homebrew-core#14724" Signed-off-by: Mario Kozjak Add vendoring. - Add vendor dependencies for better macos homebrew support - Referencing #42 - Referencing Homebrew/homebrew-core#14724 Signed-off-by: Mario Kozjak Revert "Add vendoring. (glide)" This reverts commit 8e3eb6282c955f14d493d6f084b3cf4fb4ad7b2b. vendoring: removed vendor/; moved Gopkg.toml to topdir; removed Gopkg.lock Signed-off-by: Mario Kozjak travis: use golang/dep for dependency resolving; referencing #51 Signed-off-by: Mario Kozjak Gopkg.toml: remove examples Signed-off-by: Mario Kozjak Gopkg.toml: goose doesn't need to pull itself :) Signed-off-by: Mario Kozjak Gopkg.toml: should be able to upgrade minor versions Signed-off-by: Mario Kozjak --- .travis.yml | 6 ++---- Gopkg.toml | 11 +++++++++++ 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 Gopkg.toml diff --git a/.travis.yml b/.travis.yml index ba67774..71a1bc6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,8 @@ go: - tip install: -- go get github.com/go-sql-driver/mysql -- go get github.com/lib/pq -- go get github.com/mattn/go-sqlite3 -- go get github.com/ziutek/mymysql/godrv +- go get github.com/golang/dep/cmd/dep +- dep ensure script: - go test diff --git a/Gopkg.toml b/Gopkg.toml new file mode 100644 index 0000000..00bfd1e --- /dev/null +++ b/Gopkg.toml @@ -0,0 +1,11 @@ +[[constraint]] + name = "github.com/go-sql-driver/mysql" + version = "^1.3.0" + +[[constraint]] + branch = "master" + name = "github.com/lib/pq" + +[[constraint]] + name = "github.com/mattn/go-sqlite3" + version = "^1.2.0"