From aa7d5303193b13880728035c298c635e4fdcbe1c Mon Sep 17 00:00:00 2001 From: Jason Paryani Date: Tue, 10 Mar 2015 11:22:50 -0700 Subject: [PATCH] Make libcapnp version easier to change in setup_travis.sh --- buildutils/setup_travis.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildutils/setup_travis.sh b/buildutils/setup_travis.sh index 90b576c..956dcf5 100755 --- a/buildutils/setup_travis.sh +++ b/buildutils/setup_travis.sh @@ -2,6 +2,8 @@ set -exo pipefail +CAPNP_VERSION=0.5.1.2 + sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test sudo apt-get -qq update sudo apt-get -qq install g++-4.8 libstdc++-4.8-dev @@ -9,5 +11,5 @@ sudo update-alternatives --quiet --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 sudo update-alternatives --quiet --set gcc /usr/bin/gcc-4.8 if ! [ -z "${BUILD_CAPNP}" ]; then - wget https://capnproto.org/capnproto-c++-0.5.2.tar.gz && tar xzvf capnproto-c++-0.5.2.tar.gz && cd capnproto-c++-0.5.2 && ./configure && make -j6 check && sudo make install && sudo ldconfig && cd .. + wget https://capnproto.org/capnproto-c++-${CAPNP_VERSION}.tar.gz && tar xzvf capnproto-c++-${CAPNP_VERSION}.tar.gz && cd capnproto-c++-${CAPNP_VERSION} && ./configure && make -j6 check && sudo make install && sudo ldconfig && cd .. fi