From 29b25869fa3d582f9948743689f2836be7fb0c36 Mon Sep 17 00:00:00 2001 From: Paolo Borelli Date: Sun, 30 Oct 2016 10:54:47 +0100 Subject: [PATCH] bump protobuf version in travis to 3.0.2 protobuf does not provide configured tarballs anymore, so we need to run autogen.sh ourselves. --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6c8e2bf..4bf0695 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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