bump protobuf version in travis to 3.0.2

protobuf does not provide configured tarballs anymore, so we need
to run autogen.sh ourselves.
This commit is contained in:
Paolo Borelli 2016-10-30 10:54:47 +01:00
parent 2f22519f58
commit 29b25869fa

View File

@ -31,7 +31,7 @@ matrix:
- ubuntu-toolchain-r-test
env:
global:
- PROTOBUF_VERSION=2.6.1
- PROTOBUF_VERSION=3.0.2
- PKG_CONFIG_PATH=$HOME/protobuf-$PROTOBUF_VERSION-bin/lib/pkgconfig
before_install:
@ -44,9 +44,9 @@ before_install:
install:
- pip install --user cpp-coveralls
- wget https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protobuf-$PROTOBUF_VERSION.tar.gz
- tar xf protobuf-$PROTOBUF_VERSION.tar.gz
- ( cd protobuf-$PROTOBUF_VERSION && ./configure --prefix=$HOME/protobuf-$PROTOBUF_VERSION-bin && make -j2 && make install )
- wget https://github.com/google/protobuf/archive/v$PROTOBUF_VERSION.tar.gz
- tar xf v$PROTOBUF_VERSION.tar.gz
- ( cd protobuf-$PROTOBUF_VERSION && ./autogen.sh && ./configure --prefix=$HOME/protobuf-$PROTOBUF_VERSION-bin && make -j2 && make install )
script:
- ./autogen.sh