protobuf-c/.travis.yml
Robert Edmonds aab12f20bc .travis.yml: use system protobuf packages and build using distcheck
the change that required protobuf >= 2.5.0 has been reverted, so there's
no need to build protobuf from source. use the system protobuf packages
instead.

also use distcheck to build and check the distribution. this will run
the test suite and perform various other checks. it will also perform a
VPATH build using the distribution tarball, which will catch any files
present in the git repository but inadvertently not distributed in the
tarball.

also test the build when configured with "--enable-rpc".
2013-11-18 14:35:52 -05:00

13 lines
331 B
YAML

language: cpp
before_install:
- sudo apt-get update -qq
install:
- sudo apt-get -q install protobuf-compiler libprotobuf-dev libprotoc-dev
script:
- ./autogen.sh
- ./configure && make distcheck && make clean
- ./configure --enable-rpc && make distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-rpc" && make clean