Created
December 5, 2016 09:48
-
-
Save alileza/270c1f8f07fe4986c16ae8d92250cd65 to your computer and use it in GitHub Desktop.
to use go 1.7.4
This file contains hidden or 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
machine: | |
environment: | |
GODIST: "go1.7.4.linux-amd64.tar.gz" | |
post: | |
- mkdir -p download | |
- test -e download/$GODIST || curl -o download/$GODIST https://storage.googleapis.com/golang/$GODIST | |
- sudo rm -rf /usr/local/go | |
- sudo tar -C /usr/local -xzf download/$GODIST | |
dependencies: | |
cache_directories: | |
- ~/download |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment