Skip to content

Commit d727f01

Browse files
committed
Install go
1 parent bc3dad6 commit d727f01

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.circleci/config.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@ shared: &shared
1616
- run:
1717
name: Install Golang
1818
command: |
19-
sudo apt-get install software-properties-common
20-
sudo add-apt-repository ppa:longsleep/golang-backports
21-
sudo apt update
22-
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F6BC817356A3D45E
23-
sudo apt-get install golang-go
19+
sudo curl -sL -o /usr/bin/gimme https://raw.githubusercontent.com/travis-ci/gimme/master/gimme
20+
sudo chmod +x /usr/bin/gimme
21+
sudo eval "$(gimme 1.12)"
2422
2523
- checkout
2624

0 commit comments

Comments
 (0)