Updated Travis to put protoc in a subdirectory for genfiles.

pull/13171/head
Josh Haberman 9 years ago
parent fd1e6a3805
commit 7d1de129cd
  1. 5
      travis.sh

@ -75,9 +75,12 @@ genfiles_install() {
sudo apt-get install lua5.2 liblua5.2-dev
# Need a recent version of protoc to compile proto3 files.
mkdir protoc
cd protoc
wget https://github.com/google/protobuf/releases/download/v3.0.0-beta-2/protoc-3.0.0-beta-2-linux-x86_64.zip
unzip protoc-3.0.0-beta-2-linux-x86_64.zip
export PATH=.:$PATH
export PATH=`pwd`:$PATH
cd ..
protoc --version || true
}
genfiles_script() {

Loading…
Cancel
Save