mirror of
https://github.com/foomo/shop.git
synced 2025-10-16 12:35:39 +00:00
dependency management with glide
travis test with glide support
This commit is contained in:
parent
4b378a4d06
commit
8f725d9410
@ -5,5 +5,10 @@ sudo: required
|
||||
services:
|
||||
- docker
|
||||
|
||||
install:
|
||||
- go get -v github.com/Masterminds/glide
|
||||
- cd $GOPATH/src/github.com/Masterminds/glide && git checkout v0.13.1 && go install && cd -
|
||||
- glide install
|
||||
|
||||
script:
|
||||
- make install-test-dependencies test
|
||||
- make test
|
||||
2
Makefile
2
Makefile
@ -14,6 +14,6 @@ install-test-dependencies:
|
||||
go get -u github.com/bwmarrin/snowflake
|
||||
go get -u github.com/sergi/go-diff/diffmatchpatch
|
||||
go get -u github.com/nbutton23/zxcvbn-go
|
||||
go get -u gopkg.in/mgo.v2/bson
|
||||
go get -u github.com/mitchellh/mapstructure
|
||||
go get -u gopkg.in/mgo.v2/bson
|
||||
go get -u golang.org/x/crypto/bcrypt
|
||||
33
glide.yaml
Normal file
33
glide.yaml
Normal file
@ -0,0 +1,33 @@
|
||||
package: github.com/foomo/shop
|
||||
import:
|
||||
- package: git.bestbytes.net/Project-Globus-Services/utils
|
||||
- package: github.com/bwmarrin/snowflake
|
||||
- package: github.com/mitchellh/mapstructure
|
||||
- package: github.com/nbutton23/zxcvbn-go
|
||||
version: ^0.1.0
|
||||
subpackages:
|
||||
- scoring
|
||||
- package: github.com/sergi/go-diff
|
||||
version: ^1.0.0
|
||||
subpackages:
|
||||
- diffmatchpatch
|
||||
- package: github.com/skratchdot/open-golang
|
||||
subpackages:
|
||||
- open
|
||||
- package: github.com/ventu-io/go-shortid
|
||||
version: ^1.0.0
|
||||
- package: golang.org/x/crypto
|
||||
subpackages:
|
||||
- bcrypt
|
||||
- package: gopkg.in/mgo.v2
|
||||
subpackages:
|
||||
- bson
|
||||
testImport:
|
||||
- package: github.com/davecgh/go-spew
|
||||
version: ^1.1.0
|
||||
subpackages:
|
||||
- spew
|
||||
- package: github.com/stretchr/testify
|
||||
version: ^1.2.1
|
||||
subpackages:
|
||||
- assert
|
||||
Loading…
Reference in New Issue
Block a user