From fc3c94f66d47eadf35ae205e317bba06567a6766 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Tue, 22 Jan 2019 10:02:48 +1100 Subject: [PATCH] Add custom proto install to travis --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5b4f1a46d..67b4d1140 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,11 @@ language: rust -dist: xenial before_install: - - sudo apt-get install -y protobuf-compiler + - curl -OL https://github.com/google/protobuf/releases/download/v3.4.0/protoc-3.4.0-linux-x86_64.zip + - unzip protoc-3.2.0-linux-x86_64.zip -d protoc3 + - sudo mv protoc3/bin/* /usr/local/bin/ + - sudo mv protoc3/include/* /usr/local/include/ + - sudo chown $USER /usr/local/bin/protoc + - sudo chown -R $USER /usr/local/include/google script: - cargo build --verbose --all - cargo test --verbose --all