mirror of
https://github.com/capnproto/pycapnp.git
synced 2025-03-04 16:35:04 +01:00

Stop running `make check` for capnproto. It has some networking test problem with travis.
15 lines
686 B
Bash
Executable file
15 lines
686 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -exo pipefail
|
|
|
|
CAPNP_VERSION=0.5.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
|
|
sudo update-alternatives --quiet --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8 --slave /usr/bin/gcov gcov /usr/bin/gcov-4.8
|
|
sudo update-alternatives --quiet --set gcc /usr/bin/gcc-4.8
|
|
|
|
if ! [ -z "${BUILD_CAPNP}" ]; then
|
|
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 && sudo make install && sudo ldconfig && cd ..
|
|
fi
|