Travis: fix sudo required and apt-get update command

This commit is contained in:
romanornr 2018-01-17 17:07:31 +01:00 committed by Alex Akselrod
parent 7b6f4d34b1
commit d512642c02

@ -2,11 +2,11 @@ language: go
go: go:
- 1.8.5 - 1.8.5
- 1.9.2 - 1.9.2
sudo: false sudo: required
install: install:
- add-apt-repository -y ppa:bitcoin/bitcoin - sudo add-apt-repository -y ppa:bitcoin/bitcoin -y
- apt-update - sudo apt-get update -q
- apt-get -y install bitcoind - sudo apt-get install bitcoind -y
- GLIDE_TAG=v0.12.3 - GLIDE_TAG=v0.12.3
- GLIDE_DOWNLOAD="https://github.com/Masterminds/glide/releases/download/$GLIDE_TAG/glide-$GLIDE_TAG-linux-amd64.tar.gz" - GLIDE_DOWNLOAD="https://github.com/Masterminds/glide/releases/download/$GLIDE_TAG/glide-$GLIDE_TAG-linux-amd64.tar.gz"
- curl -L $GLIDE_DOWNLOAD | tar -xvz - curl -L $GLIDE_DOWNLOAD | tar -xvz