language: cpp
dist: trusty
compiler:
    - gcc
before_install:
    - sudo apt-get install libsqlite3-dev cmake valgrind
script:
    - export COVERALLS_SERVICE_NAME=travis-ci
    - export COVERALLS_REPO_TOKEN=LBabWqujATyFxhPqivesbRufCubG1GKUc
    - cmake . -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=ON
    - make
    - make coveralls
    - valgrind --leak-check=full --trace-children=yes ctest -V # Make sure tests are executed corretly and logged with "-V"

language: cpp
dist: trusty
matrix:
  include:
    # works on Trusty
    - os: linux
      addons:
        apt:
          sources:
            - llvm-toolchain-trusty-5.0
          packages:
            - clang-5.0
      env:
        - MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"

before_install:
    - eval "${MATRIX_EVAL}"
    - sudo apt-get install libsqlite3-dev cmake valgrind
script:
    - export COVERALLS_SERVICE_NAME=travis-ci
    - export COVERALLS_REPO_TOKEN=LBabWqujATyFxhPqivesbRufCubG1GKUc
    - cmake . -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=ON
    - make
    - make coveralls
    - valgrind --leak-check=full --trace-children=yes ctest -V # Make sure tests are executed corretly and logged with "-V"

Update Travis conf to use clang5.
Update Travis conf to use clang5.
