sudo: required
dist: trusty
language: cpp
cache: apt

addons:
  apt:
    packages: ['valgrind']

matrix:
  include:
    - compiler: gcc
      env: RUN_BENCHMARKS=1 BUILD_TYPE=RelWithDebInfo
    - compiler: gcc
      env: COVERITY_BUILD=1 BUILD_TYPE=RelWithDebInfo
    - compiler: gcc
      env: TEST_COVERAGE=1 BUILD_TYPE=Debug CMAKE_FLAGS="-DJOINT_COVERAGE=TRUE"
    - compiler: gcc
      env: USE_VALGRIND=1 BUILD_TYPE=Debug
    - compiler: clang
      addons:
        apt:
          packages: ['clang-3.5', 'valgrind']
      env: USE_VALGRIND=1 COMPILER=clang-3.5 COMPILERXX=clang++-3.5 BUILD_TYPE=Debug

before_install:
  - test "0$RUN_BENCHMARKS" -ne 1 || sudo apt-get install -yq libboost-all-dev
  - sudo apt-get install -yq swig
  - sudo apt-get install -yq python-dev
  - sudo apt-get install -yq python-pip
  - sudo pip install pyparsing jinja2

install:
  - sudo apt-get install lcov
  - gem install coveralls-lcov
  - sudo pip install codecov
  - ./ci/do.sh prepare

script: 
  - ./ci/do.sh run

after_success:
  - ./ci/do.sh finalize

sudo: required
dist: trusty
language: cpp
cache: apt

addons:
  apt:
    packages: ['valgrind']

matrix:
  include:
    - compiler: gcc
      env: COVERITY_BUILD=1 BUILD_TYPE=RelWithDebInfo
    - compiler: gcc
      env: TEST_COVERAGE=1 BUILD_TYPE=Debug CMAKE_FLAGS="-DJOINT_COVERAGE=TRUE"
    - compiler: gcc
      env: USE_VALGRIND=1 BUILD_TYPE=Debug
    - compiler: clang
      addons:
        apt:
          packages: ['clang-3.5', 'valgrind']
      env: USE_VALGRIND=1 COMPILER=clang-3.5 COMPILERXX=clang++-3.5 BUILD_TYPE=Debug

before_install:
  - test "0$RUN_BENCHMARKS" -ne 1 || sudo apt-get install -yq libboost-all-dev
  - sudo apt-get install -yq swig
  - sudo apt-get install -yq python-dev
  - sudo apt-get install -yq python-pip
  - sudo pip install pyparsing jinja2

install:
  - sudo apt-get install lcov
  - gem install coveralls-lcov
  - sudo pip install codecov
  - ./ci/do.sh prepare

script: 
  - ./ci/do.sh run

after_success:
  - ./ci/do.sh finalize

Remove benchmarks from CI =(
Remove benchmarks from CI =(
