travis: fix go get command (needs -t), update dep

Only with the "-t" flag does go get download dependencies
that are only used in tests.
This commit is contained in:
Jakob Unterwurzacher 2019-01-02 17:06:01 +01:00
parent f320b76fd1
commit a77d31ca82
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ before_install:
- sudo chown root:$USER /etc/fuse.conf
install:
- go get -v .
- wget https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64 -O dep
- go get -t -v .
- wget https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64 -O dep
- chmod +x dep
script: