Skip to content
This repository was archived by the owner on Apr 30, 2019. It is now read-only.

Commit c236413

Browse files
committed
Fix .travis.yml
This fixes .travis.yml to fix misuse ~/go directory.
1 parent b387467 commit c236413

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ sudo: false
55

66
install:
77
- wget -O go.tar.gz https://dl.google.com/go/go1.11.linux-amd64.tar.gz
8-
- tar -C ~ -xzf go.tar.gz
8+
- mkdir ~/gocode
9+
- tar -C ~/gocode -xzf go.tar.gz
910
- rm go.tar.gz
10-
- export GOROOT=~/go
11+
- export GOROOT=~/gocode/go
1112
- export PATH=$GOROOT/bin:$PATH
1213
- nvm install node
1314
- nvm use node

0 commit comments

Comments
 (0)