Skip to content

Commit

Permalink
Add dep and travis
Browse files Browse the repository at this point in the history
  • Loading branch information
blind-oracle committed Aug 21, 2019
1 parent 6feae81 commit 131c4e4
Show file tree
Hide file tree
Showing 5 changed files with 543 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dnstap-bgp
!deploy/dnstap-bgp
test*
vendor*
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: go

go:
- 1.x

env:
- DEP_VERSION=0.5.1

before_install:
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
- chmod +x $GOPATH/bin/dep
- go get github.com/mattn/goveralls
- dep ensure

script:
- go test ./... -coverprofile=dnstap-bgp.coverprofile
- $GOPATH/bin/goveralls -service=travis-ci -coverprofile dnstap-bgp.coverprofile

0 comments on commit 131c4e4

Please sign in to comment.