aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-05-29 14:30:47 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-05-29 14:30:47 +0100
commit2d76d6028d75dda1d239d228d47679b5b35ee1e1 (patch)
tree968e29f648e89ef5de63adc5f60b841d7a80f078
parent5cbf84c566f648dd7e54a2fdea1b645ef96627b1 (diff)
Filter vendor packages from tests
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 9067b6a..dc81a35 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,6 +11,6 @@ go:
sudo: false
script:
- go build -v ./...
- - go test -v ./...
+ - go list ./... |grep -v vendor/ |xargs go test
- gofmt -d $(find -type f -name '*.go' -not -path './vendor/*')
- go list ./... |grep -v vendor/ |xargs go vet