travis: use versioned go get for gocc installation
MODIFY
.travis/script.d/deps.sh
.travis/script.d/deps.sh
@@ -17,7 +17,7 @@ go get gonum.org/v1/tools/cmd/check-copyright
go get golang.org/x/tools/cmd/cover
go get github.com/mattn/goveralls
# Required for dot parser checks.
-${TRAVIS_BUILD_DIR}/.travis/script.d/install-gocc.sh 66c61e91b3657c517a6f89d2837d370e61fb9430
+go get github.com/goccmack/gocc@66c61e9
# Clean up.
# TODO(kortschak): Remove when golang/go#30515 is resolved.

DELETE
.travis/script.d/install-gocc.sh
-#!/bin/bash
-
-set -ex
-
-# TODO(kortschak): Replace this with versioned go get when
-# all our supported versions of Go support it.
-mkdir -p $GOPATH/src/github.com/goccmack
-git clone https://github.com/goccmack/gocc.git $GOPATH/src/github.com/goccmack/gocc
-cd $GOPATH/src/github.com/goccmack/gocc
-git checkout $1
-go install

travis: use versioned go get for gocc installation