Skip to content

Commit

Permalink
use proper protoc in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Melnik committed Sep 28, 2019
1 parent 192f11d commit fdbef98
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ addons:
before_install:
- sudo apt-add-repository ppa:bitcoin/bitcoin -y
- sudo apt-get update -qq
- sudo apt-get install bitcoind protobuf-compiler -y
- sudo apt-get install bitcoind -y
- CURRENT_DIR=$(pwd) &&
cd /tmp &&
curl -OL https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip &&
unzip protoc-3.3.0-linux-x86_64.zip -d protoc3 &&
sudo mv protoc3/bin/* /usr/local/bin/ &&
sudo mv protoc3/include/* /usr/local/include/ &&
cd $CURRENT_DIR
- CURRENT_DIR=$(pwd) &&
cd /tmp &&
git clone https://github.com/romanz/electrs &&
Expand Down

0 comments on commit fdbef98

Please sign in to comment.