forked from cstrahan/capnp-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
19 lines (16 loc) · 817 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: ruby
rvm:
- 1.9.2
- 1.9.3
- 2.0.0
compiler: gcc
before_install:
- sudo apt-get install autoconf automake libtool autotools-dev
- 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
- git clone --depth=1 https://github.com/kentonv/capnproto.git && cd capnproto/c++ && ./setup-autotools.sh && autoreconf -i && ./configure && make -j6 check && sudo make install && sudo ldconfig && cd ../..