diff --git a/.travis.yml b/.travis.yml index 8c4b22607..ce88b89bc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ before_install: fi install: - - TRAVIS_NODE_VERSION="6"; + - TRAVIS_NODE_VERSION="6"; GOMETALINTER_RELEASE_TAG=v2.0.12; # Clear out whatever version of NVM Travis has as it is old. - rm -rf ~/.nvm; # Grab NVM. @@ -49,7 +49,7 @@ install: - go get -u -v github.com/cweill/gotests/... - go get -u -v github.com/haya14busa/goplay/cmd/goplay - go get -u -v github.com/davidrjenni/reftools/cmd/fillstruct - - curl -fsSL https://git.io/vp6lP | sh -s -- -b $GOPATH/bin + - curl -fsSL https://git.io/vp6lP | sh -s $GOMETALINTER_RELEASE_TAG -- -b $GOPATH/bin script: - npm run lint