summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorKyle Manna <kyle@kylemanna.com>2015-09-21 09:04:11 -0700
committerKyle Manna <kyle@kylemanna.com>2015-09-21 09:39:45 -0700
commit77dad2e4e271ccafa618619e23b81480542f9832 (patch)
treee21891987fff53076a539044e8c05c5bf960bceb /.travis.yml
parent47bd244f2e7772c2259f2c37ddf9480959c2272a (diff)
travis-ci: Use protobuf v3 as it adds python3
* Still in testing currently.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files 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