language: cpp
compiler:
  - gcc
  - clang
  
before_install:
  - sudo add-apt-repository -y ppa:kalakris/cmake         # for CMake
  - sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa    # for Qt5
  - sudo apt-get update
  - sudo apt-get install cmake qtbase5-dev
  
before_script:
  - mkdir build
  - cd build
  - export LD_LIBRARY_PATH="../../lib:$LD_LIBRARY_PATH"         
  
script:
  - cmake ..
  - make all test
  - sudo make install

language: cpp
compiler:
  - gcc
  - clang
  
before_install:
  - sudo add-apt-repository -y ppa:likemartinma/devel     # for CMake
  - sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa    # for Qt5
  - sudo apt-get update
  - sudo apt-get install cmake qtbase5-dev
  
before_script:
  - mkdir build
  - cd build
  - export LD_LIBRARY_PATH="../../lib:$LD_LIBRARY_PATH"         
  
script:
  - cmake ..
  - make all test
  - sudo make install

Use different ppa for cmake 2.8.12
Use different ppa for cmake 2.8.12
