diff --git a/.travis.yml b/.travis.yml index 423c109..d17af13 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,4 +9,4 @@ before_install: - sudo apt-get install -qq --no-install-recommends libpam0g-dev - sudo useradd -d /tmp/test -p '$1$Qd8H95T5$RYSZQeoFbEB.gS19zS99A0' -s /bin/false test -script: sudo $GOROOT/bin/go test -v ./... +script: sudo GOROOT=$GOROOT GOPATH=$GOPATH $(which go) test -v ./...