From 6f558ec1dd58c49482b468d6fdd57a82d308b941 Mon Sep 17 00:00:00 2001 From: Phil Estes Date: Mon, 16 Dec 2019 11:59:52 -0500 Subject: [PATCH] Use go.mod to get vendored content Also ignore vendor dir since we aren't checking in the vendored files. Signed-off-by: Phil Estes --- .gitignore | 2 ++ .travis.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index daf913b..615baef 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ _testmain.go *.exe *.test *.prof + +vendor/ diff --git a/.travis.yml b/.travis.yml index 902fcf0..4273865 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ before_install: - ls /usr/include/btrfs install: - - go get -d ./... + - GO111MODULE="on" go mod vendor - go get -u github.com/vbatts/git-validation - go get -u github.com/kunalkushwaha/ltag