From 77dad2e4e271ccafa618619e23b81480542f9832 Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Mon, 21 Sep 2015 09:04:11 -0700 Subject: [PATCH] travis-ci: Use protobuf v3 as it adds python3 * Still in testing currently. --- .travis.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6b8db516..2e77e7c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,13 +43,11 @@ before_install: # - $HOME/protobuf install: - - pip install protobuf - - test \! -d $HOME/protobuf - && curl -L https://github.com/google/protobuf/releases/download/v2.6.1/protobuf-2.6.1.tar.bz2 | tar xjf - - && pushd protobuf-2.6.1 + - curl -L https://github.com/google/protobuf/releases/download/v3.0.0-beta-1/protobuf-python-3.0.0-alpha-4.tar.gz | tar xzf - + && pushd protobuf-3.0.0-alpha-4 && ./configure --prefix=$HOME/protobuf && make && make install + && pushd python && python setup.py build && python setup.py install && popd && popd - || true # True if test is false as the cache exists script: - pushd generator/proto && make && popd -- 2.16.6