Merge pull request #51 from mkozjak/vendoring

Add vendoring support using dep vendor package manager.
This commit is contained in:
Vojtech Vitek 2017-06-20 11:57:01 -04:00 committed by GitHub
commit 4754ec24d0
2 changed files with 14 additions and 5 deletions

View File

@ -1,14 +1,12 @@
sudo: false
language: go
go:
- 1.6
- 1.7
- 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

11
Gopkg.toml Normal file
View File

@ -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"