mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-26 21:04:23 +08:00
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:
parent
2f22519f58
commit
29b25869fa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user