travis: try different way to install glide
This commit is contained in:
parent
f7e371f380
commit
addafe0137
14
.travis.yml
14
.travis.yml
|
@ -4,16 +4,16 @@ go:
|
|||
- 1.8.x
|
||||
- master
|
||||
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- sourceline: 'ppa:masterminds/glide'
|
||||
packages:
|
||||
- glide
|
||||
|
||||
install:
|
||||
- mkdir $GOPATH/bin
|
||||
|
||||
# Install the glide dependency management tool
|
||||
- wget "https://github.com/Masterminds/glide/releases/download/v0.12.3/glide-v0.12.3-linux-arm64.tar.gz" -O glide.tar.gz
|
||||
- mkdir -p $HOME/bin
|
||||
- tar -vxz -C $HOME/bin --strip=1 -f glide.tar.gz
|
||||
- chmod +x $HOME/bin/glide
|
||||
- export PATH="$HOME/bin:$PATH"
|
||||
|
||||
# Install other tools
|
||||
- go get github.com/mitchellh/gox
|
||||
- go get github.com/haya14busa/goverage
|
||||
|
|
Loading…
Reference in New Issue
Block a user