Travis: fix sudo required and apt-get update command

This commit is contained in:
romanornr authored and Alex Akselrod committed 2018-01-17 10:06:40 -07:00
1 parent 7b6f4d34b1
commit d512642c02
1 file changed
+4 -4
+4 -4
View File
@@ -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