set the C compiler in travis config

This commit is contained in:
David Renshaw 2015-02-16 09:00:02 -05:00
parent e0a0204e3f
commit dd36d7252f

View file

@ -9,8 +9,12 @@ before_install:
- sudo apt-get update
install:
- sudo apt-get install g++-4.8 gcc-4.8
- export CC=gcc-4.8
- export CXX=g++-4.
- curl -O https://capnproto.org/capnproto-c++-0.5.1.tar.gz
- tar zxf capnproto-c++-0.5.1.tar.gz
- ./configure && make -j5 && sudo make install && cd ../..
- cd capnproto-c++-0.5.1 && ./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"