language: cpp
compiler:
  - gcc
  - clang
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -yqq libevent-dev
script: mkdir build && cd build && cmake .. && make && ./test/test

language: cpp

compiler:
  - gcc

before_install:
  # We need GCC 4.8 for the unit tests
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq

install:
  - sudo apt-get install -yqq g++-4.8 libevent-dev
  - export CXX="g++-4.8"

script: mkdir build && cd build && cmake .. && make && ./test/test

Install GCC 4.8 for C++11 support in tests
Install GCC 4.8 for C++11 support in tests

Removes clang from the builds.
