language: cpp

matrix:
  include:
    - os: osx
      osx_image: xcode10
      env: MATRIX_EVAL="brew install qt" BUILD_TYPE=Release

    - os: linux
      addons: { apt: {
        packages: [ g++-6, libboost1.55-all-dev, qt5-default ],
        sources: [ ubuntu-toolchain-r-test, boost-latest ] } }
      env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" BUILD_TYPE=Release

before_install:
  - eval "${MATRIX_EVAL}"

script:
  - ci/travis-script.sh

notifications:
  email: false

language: cpp

matrix:
  include:
    - os: osx
      osx_image: xcode10
      env: MATRIX_EVAL="brew install qt" BUILD_TYPE=Release

    - os: linux
      addons: { apt: {
        packages: [ g++-6, libboost1.55-all-dev, qt5-default ],
        sources: [ ubuntu-toolchain-r-test, boost-latest ] } }
      env: MATRIX_EVAL="CC=gcc-6 && CXX=g++-6" BUILD_TYPE=Release

    - os: linux
      addons: { apt: {
        packages: [ clang-6.0, libstdc++-6-dev, libboost1.55-all-dev, qt5-default ],
        sources: [ llvm-toolchain-trusty-6.0, ubuntu-toolchain-r-test, boost-latest ] } }
      env: MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0" BUILD_TYPE=Release

before_install:
  - eval "${MATRIX_EVAL}"

script:
  - ci/travis-script.sh

notifications:
  email: false

Add clang-6 build on linux
Add clang-6 build on linux
