summaryrefslogtreecommitdiff
path: root/travis.sh
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2016-09-01 16:48:54 -0700
committerJosh Haberman <jhaberman@gmail.com>2016-09-01 16:48:54 -0700
commit7d1de129cda96085da53181d0530ffcc610fc271 (patch)
tree7b72d324b52f14d17432a99a7cfff1fe1155c784 /travis.sh
parentfd1e6a3805224ba892918834b845909443bbd079 (diff)
Updated Travis to put protoc in a subdirectory for genfiles.
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/travis.sh b/travis.sh
index 02fede8..694ddc8 100755
--- a/travis.sh
+++ b/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() {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback