Skip to content

Commit

Permalink
Feat/go dep (matcornic#16)
Browse files Browse the repository at this point in the history
* feat: add go dep
  • Loading branch information
matcornic authored Aug 26, 2017
1 parent 6692b67 commit f72fbfe
Show file tree
Hide file tree
Showing 4 changed files with 151 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ _testmain.go

.DS_Store
coverage.txt
vendor/
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
language: go

go:
- 1.6
- 1.7
- 1.8
- master

install:
- go get ./...
- go get -t ./...
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
- go get -u github.com/alecthomas/gometalinter
- gometalinter -u -i -f

script:
- go test -race -coverprofile=coverage.txt -covermode=atomic
- gometalinter --config=./gometalinter.json ./...
- gometalinter --vendor --config=./gometalinter.json ./...

after_success:
- bash <(curl -s https://codecov.io/bash)
105 changes: 105 additions & 0 deletions Gopkg.lock

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

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

# 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/Masterminds/sprig"
version = "2.12.0"

[[constraint]]
name = "github.com/imdario/mergo"
version = "0.2.2"

[[constraint]]
branch = "master"
name = "github.com/jaytaylor/html2text"

[[constraint]]
name = "github.com/russross/blackfriday"
branch = "master"

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

0 comments on commit f72fbfe

Please sign in to comment.