Skip to content
Permalink
Browse files

Feat/go dep (matcornic#16)

* feat: add go dep
  • Loading branch information...
matcornic committed Aug 26, 2017
1 parent 6692b67 commit f72fbfe860d779262ed6119515bf01d546af7794
Showing with 151 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +3 −4 .travis.yml
  3. +105 −0 Gopkg.lock
  4. +42 −0 Gopkg.toml
@@ -25,3 +25,4 @@ _testmain.go

.DS_Store
coverage.txt
vendor/
@@ -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)

Some generated files are not rendered by default. Learn more.

@@ -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.
You can’t perform that action at this time.