diff --git a/.travis.yml b/.travis.yml index decc28a97..8fd37cc0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: go sudo: false +env: + - DEP_VERSION="0.5.0" matrix: include: - go: 1.x @@ -10,10 +12,16 @@ matrix: - go: tip allow_failures: - go: tip +before_install: + # Download the binary to bin folder in $GOPATH + - curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep + # Make the binary executable + - chmod +x $GOPATH/bin/dep + - dep ensure install: -- + - script: -- go get -t -v ./... +# - go get -v ./... - diff -u <(echo -n) <(gofmt -d .) - go vet $(go list ./... | grep -v /vendor/) - if [ "${LATEST}" = "true" ]; then gox -os="linux darwin windows" -arch="amd64" -output="lazygit.."