Fix tar argument

This commit is contained in:
mhchia 2019-08-28 23:50:46 +08:00
parent 15f62dff68
commit e0399beed8
No known key found for this signature in database
GPG Key ID: 389EFBEA1362589A

View File

@ -14,7 +14,7 @@ matrix:
sudo: true
before_install:
- wget https://dl.google.com/go/go1.12.6.linux-amd64.tar.gz
- sudo tar -C /usr/local -xzf $GOPACKAGE
- sudo tar -C /usr/local -xzf go1.12.6.linux-amd64.tar.gz
- export GOPATH=$HOME/go
- export GOROOT=/usr/local/go
- export PATH=$GOROOT/bin:$GOPATH/bin:$PATH