travis: remove Go1.11 workaround
MODIFY
.travis/script.d/deps.sh
.travis/script.d/deps.sh
set -ex
# Avoid contaminating the go.mod/go.sum files.
+# TODO(kortschak): Remove when golang/go#30515 is resolved
WORK=$(mktemp -d)
pushd $WORK
-# Work around go1.11 issue where go get will not work outside a module.
-# TODO(kortschak): Remove when go1.11 is no longer supported.
-go mod init fake || true
-
# Required for format check.
go get golang.org/x/tools/cmd/goimports
# Required for imports check.
@@ -23,6 +20,6 @@ go get github.com/mattn/goveralls
${TRAVIS_BUILD_DIR}/.travis/script.d/install-gocc.sh 66c61e91b3657c517a6f89d2837d370e61fb9430
# Clean up.
-# TODO(kortschak): Remove when go1.11 is no longer supported.
+# TODO(kortschak): Remove when golang/go#30515 is resolved.
popd
rm -rf $WORK

travis: remove Go1.11 workaround