Commit 29b25869 authored by Paolo Borelli's avatar Paolo Borelli

bump protobuf version in travis to 3.0.2

protobuf does not provide configured tarballs anymore, so we need
to run autogen.sh ourselves.
parent 2f22519f
...@@ -31,7 +31,7 @@ matrix: ...@@ -31,7 +31,7 @@ matrix:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
env: env:
global: global:
- PROTOBUF_VERSION=2.6.1 - PROTOBUF_VERSION=3.0.2
- PKG_CONFIG_PATH=$HOME/protobuf-$PROTOBUF_VERSION-bin/lib/pkgconfig - PKG_CONFIG_PATH=$HOME/protobuf-$PROTOBUF_VERSION-bin/lib/pkgconfig
before_install: before_install:
...@@ -44,9 +44,9 @@ before_install: ...@@ -44,9 +44,9 @@ before_install:
install: install:
- pip install --user cpp-coveralls - pip install --user cpp-coveralls
- wget https://github.com/google/protobuf/releases/download/v$PROTOBUF_VERSION/protobuf-$PROTOBUF_VERSION.tar.gz - wget https://github.com/google/protobuf/archive/v$PROTOBUF_VERSION.tar.gz
- tar xf protobuf-$PROTOBUF_VERSION.tar.gz - tar xf v$PROTOBUF_VERSION.tar.gz
- ( cd protobuf-$PROTOBUF_VERSION && ./configure --prefix=$HOME/protobuf-$PROTOBUF_VERSION-bin && make -j2 && make install ) - ( cd protobuf-$PROTOBUF_VERSION && ./autogen.sh && ./configure --prefix=$HOME/protobuf-$PROTOBUF_VERSION-bin && make -j2 && make install )
script: script:
- ./autogen.sh - ./autogen.sh
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment