antlr/.travis/before-install-linux-go.sh

9 lines
227 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sudo apt-get update -qq
eval "$(sudo gimme 1.7.3)"
( go version ; go env ) || true