2014-05-27 08:31:22 +02:00
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
python:
|
|
|
|
- "3.4"
|
|
|
|
before_install:
|
|
|
|
- $CC --version
|
|
|
|
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
|
|
|
|
- sudo apt-get update -qq
|
2014-07-20 15:32:46 +02:00
|
|
|
#Install and use gcc-4.8 (don't build with gcc-4.6)
|
|
|
|
#libstdc++-4.8 is needed by Clang to build too
|
|
|
|
- sudo apt-get -qq install g++-4.8 libstdc++-4.8-dev
|
2014-05-27 08:31:22 +02:00
|
|
|
- >
|
|
|
|
sudo apt-get install --no-install-recommends -qq
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
autotools-dev
|
|
|
|
libtool
|
|
|
|
pkg-config
|
|
|
|
zlib1g-dev
|
|
|
|
libcunit1-dev
|
|
|
|
libssl-dev
|
|
|
|
libxml2-dev
|
|
|
|
libevent-dev
|
|
|
|
libjansson-dev
|
|
|
|
libjemalloc-dev
|
2014-07-20 15:32:46 +02:00
|
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
2014-05-27 08:31:22 +02:00
|
|
|
- $CC --version
|
|
|
|
before_script:
|
|
|
|
- autoreconf -i
|
|
|
|
- automake
|
|
|
|
- autoconf
|
|
|
|
- ./configure --enable-werror
|
|
|
|
script:
|
|
|
|
- make
|