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
|
||||
- sudo apt-get update
|
||||
install:
|
||||
- sudo apt-get install g++-4.8 gcc-4.8
|
||||
- curl -O https://capnproto.org/capnproto-c++-0.4.1.tar.gz
|
||||
- tar zxf capnproto-c++-0.4.1.tar.gz
|
||||
- sudo apt-get install g++-4.8 gcc-4.8 git
|
||||
- git clone https://github.com/kentonv/capnproto.git
|
||||
- export CC=gcc-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:
|
||||
- make CXX=g++-4.8 CXX_FLAGS="-std=c++11 -I/usr/local/include -L/usr/local/lib -lcapnp -lkj"
|
||||
- make addressbook
|
||||
|
|
Loading…
Reference in a new issue