summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.travis.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 77a7414f..6703baed 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -89,10 +89,10 @@ matrix:
#
# Misc
#
- - <<: *_go
- script: test -z "$(go fmt ./...)"
- - <<: *_go
- script: test -z "$(go vet ./...)"
+ - <<: *_dep_ensure
+ script: test -z "$(go fmt $(go list ./... | grep -v '/vendor/'))"
+ - <<: *_dep_ensure
+ script: test -z "$(go vet $(go list ./... | grep -v '/vendor/'))"
- <<: *_dep_ensure
script: python test/scenario_test/ci-scripts/build_embeded_go.py docs/sources/lib.md
#