tell travis to use the git version of capnproto
This commit is contained in:
parent
7c4d715421
commit
d2ed9e5df2
1 changed files with 6 additions and 4 deletions
10
.travis.yml
10
.travis.yml
|
@ -7,12 +7,14 @@ before_install:
|
||||||
- yes | sudo add-apt-repository ppa:ubuntu-toolchain-r/test
|
- yes | sudo add-apt-repository ppa:ubuntu-toolchain-r/test
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install g++-4.8 gcc-4.8
|
- sudo apt-get install g++-4.8 gcc-4.8 git
|
||||||
- curl -O https://capnproto.org/capnproto-c++-0.4.1.tar.gz
|
- git clone https://github.com/kentonv/capnproto.git
|
||||||
- tar zxf capnproto-c++-0.4.1.tar.gz
|
|
||||||
- export CC=gcc-4.8
|
- export CC=gcc-4.8
|
||||||
- export CXX=g++-4.8
|
- export CXX=g++-4.8
|
||||||
- cd capnproto-c++-0.4.1 && ./configure && make -j5 && sudo make install && cd ..
|
- cd capnproto/c++
|
||||||
|
- ./setup-autotools.sh
|
||||||
|
- autoreconf -i
|
||||||
|
- ./configure && make -j5 && sudo make install && cd ..
|
||||||
script:
|
script:
|
||||||
- make CXX=g++-4.8 CXX_FLAGS="-std=c++11 -I/usr/local/include -L/usr/local/lib -lcapnp -lkj"
|
- make CXX=g++-4.8 CXX_FLAGS="-std=c++11 -I/usr/local/include -L/usr/local/lib -lcapnp -lkj"
|
||||||
- make addressbook
|
- make addressbook
|
||||||
|
|
Loading…
Reference in a new issue