Last active
March 24, 2016 19:14
-
-
Save newtonlabs/aff90370d4cf8bc3ea2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
set -o pipefail | |
if [[ ! -e ~/go ]];then | |
wget -O /tmp/go.tgz https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz | |
cd ~ && tar xvzf /tmp/go.tgz | |
fi | |
echo "Removing old go at /usr/local/go" | |
sudo rm -rf /usr/local/go | |
echo "Installing go 1.6" | |
sudo cp -rp ~/go /usr/local | |
echo "Dumping Go ENV" | |
go env | |
echo "Installing packages..." | |
go get -u github.com/Masterminds/glide | |
go get -u github.com/jstemmer/go-junit-report |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment