sudo: required
language: cpp

matrix:
  include:
    - addons:
        apt:
          sources:
          - ubuntu-toolchain-r-test
          - boost-latest
          - sourceline: 'ppa:canonical-qt5-edgers/ubuntu1204-qt5'
          packages:
          - g++-5
      env: CC=gcc-5 CXX=g++-5
    - addons:
        apt:
          sources:
          - ubuntu-toolchain-r-test
          - boost-latest
          - sourceline: 'ppa:canonical-qt5-edgers/ubuntu1204-qt5'
          packages:
          - g++-6
      env: CC=gcc-6 CXX=g++-6
    - addons:
        apt:
          sources:
          - ubuntu-toolchain-r-test
          - boost-latest
          - sourceline: 'ppa:canonical-qt5-edgers/ubuntu1204-qt5'
          - llvm-toolchain-precise-3.8
          packages:
          - clang-3.8
      env: CC=clang-3.8 CXX=clang++-3.8

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y libev-dev libboost-filesystem1.55-dev qtbase5-dev

script:
  - mkdir build && cd build
  - cmake -DCMAKE_CXX_FLAGS="-std=c++14" -DCMAKE_INSTALL_PREFIX=$HOME ..
  - make install

sudo: required
language: generic

matrix:
  include:
    - addons:
        apt:
          sources:
          - ubuntu-toolchain-r-test
          - boost-latest
          - sourceline: 'ppa:canonical-qt5-edgers/ubuntu1204-qt5'
          packages:
          - g++-5
      env: CC=gcc-5 CXX=g++-5
    - addons:
        apt:
          sources:
          - ubuntu-toolchain-r-test
          - boost-latest
          - sourceline: 'ppa:canonical-qt5-edgers/ubuntu1204-qt5'
          packages:
          - g++-6
      env: CC=gcc-6 CXX=g++-6
    - addons:
        apt:
          sources:
          - ubuntu-toolchain-r-test
          - boost-latest
          - sourceline: 'ppa:canonical-qt5-edgers/ubuntu1204-qt5'
          - llvm-toolchain-precise-3.8
          packages:
          - clang-3.8
      env: CC=clang-3.8 CXX=clang++-3.8

before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y libev-dev libboost-filesystem1.55-dev qtbase5-dev

script:
  - mkdir build && cd build
  - cmake -DCMAKE_CXX_FLAGS="-std=c++14" -DCMAKE_INSTALL_PREFIX=$HOME ..
  - make install

Use language generic instead of cpp
Use language generic instead of cpp
