Skip to content

Commit

Permalink
vendor: Replaces glide with golang/dep (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas authored Nov 26, 2017
1 parent 8128aec commit 941d70f
Show file tree
Hide file tree
Showing 5 changed files with 256 additions and 147 deletions.
16 changes: 6 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,22 @@ services:
- docker

env:
- DOCKER_BIND_LOCALHOST=true GO15VENDOREXPERIMENT=1
- DOCKER_BIND_LOCALHOST=true

language: go

go_import_path: github.com/ory/ladon

go:
- tip
- 1.7

matrix:
allow_failures:
- go: tip
- 1.9

install:
- go get github.com/mattn/goveralls golang.org/x/tools/cmd/cover github.com/pierrre/gotestcover github.com/Masterminds/glide
- glide install
- go get github.com/mattn/goveralls golang.org/x/tools/cmd/cover github.com/pierrre/gotestcover
- curl -L -s https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64 -o $GOPATH/bin/dep && chmod +x $GOPATH/bin/dep
- dep ensure -vendor-only

script:
- gotestcover -coverprofile="cover.out" -race -covermode="count" $(go list ./... | grep -v /vendor/)
- gotestcover -coverprofile="cover.out" -race -covermode="atomic" $(go list ./... | grep -v /vendor/)

after_success:
- go vet -x $(go list ./... | grep -v /vendor/)
Expand Down
188 changes: 188 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 62 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@

# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"


[[constraint]]
name = "github.com/go-sql-driver/mysql"
version = "1.3.0"

[[constraint]]
name = "github.com/golang/mock"
version = "1.0.0"

[[constraint]]
branch = "master"
name = "github.com/hashicorp/golang-lru"

[[constraint]]
branch = "master"
name = "github.com/jmoiron/sqlx"

[[constraint]]
branch = "master"
name = "github.com/lib/pq"

[[constraint]]
name = "github.com/ory/dockertest"
version = "3.1.0"

[[constraint]]
name = "github.com/pborman/uuid"
version = "1.1.0"

[[constraint]]
name = "github.com/pkg/errors"
version = "0.8.0"

[[constraint]]
branch = "master"
name = "github.com/rubenv/sql-migrate"

[[constraint]]
name = "github.com/stretchr/testify"
version = "1.1.4"
Loading

0 comments on commit 941d70f

Please sign in to comment.