Skip to content

Commit

Permalink
Merge pull request #8 from marqeta/gomod
Browse files Browse the repository at this point in the history
Use go mod to manage dependencies
  • Loading branch information
rbhitchcock authored Dec 12, 2018
2 parents d7fa330 + 4e17c23 commit 8c19388
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 85 deletions.
18 changes: 6 additions & 12 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,19 @@ name: default
steps:
- name: vet
image: golang:1.11-stretch
environment:
DEP_VERSION: 0.5.0
pull: always
commands:
- ./.prep_drone.sh
- go vet go-dfd/dfd
- go mod tidy
- go vet ./...
- name: race
image: golang:1.11-stretch
pull: always
environment:
DEP_VERSION: 0.5.0
commands:
- ./.prep_drone.sh
- go test -race go-dfd/dfd
- go mod tidy
- go test -race ./...
- name: test
image: golang:1.11-stretch
pull: always
environment:
DEP_VERSION: 0.5.0
commands:
- ./.prep_drone.sh
- go test -cover go-dfd/dfd
- go mod tidy
- go test -cover ./...
8 changes: 0 additions & 8 deletions .prep_drone.sh

This file was deleted.

58 changes: 0 additions & 58 deletions Gopkg.lock

This file was deleted.

7 changes: 0 additions & 7 deletions Gopkg.toml

This file was deleted.

6 changes: 6 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module github.com/marqeta/go-dfd

require (
gonum.org/v1/gonum v0.0.0-20181210083604-572d9101fe4f
gonum.org/v1/netlib v0.0.0-20181029234149-ec6d1f5cefe6 // indirect
)
7 changes: 7 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de h1:xSjD6HQTqT0H/k60N5yYBtnN1OEkVy7WIo/DYyxKRO0=
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
gonum.org/v1/gonum v0.0.0-20181210083604-572d9101fe4f h1:9+rg2sMn4mRm1SsnX5UHFZEJOp/dBRE6xZ6uvnVE+XI=
gonum.org/v1/gonum v0.0.0-20181210083604-572d9101fe4f/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo=
gonum.org/v1/netlib v0.0.0-20181029234149-ec6d1f5cefe6 h1:4WsZyVtkthqrHTbDCJfiTs8IWNYE4uvsSDgaV6xpp+o=
gonum.org/v1/netlib v0.0.0-20181029234149-ec6d1f5cefe6/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw=

0 comments on commit 8c19388

Please sign in to comment.