language: cpp

compiler:
 - gcc
 - clang

env:
 - QT4_BUILD=ON
 - QT4_BUILD=OFF

before_install:
 - sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
 - sudo add-apt-repository --yes ppa:george-edison55/cmake-3.x
 - sudo apt-get update -qq
 - sudo apt-get upgrade -y cmake
 - sudo apt-get install -qq libqtcore4 qt4-qmake libqt5core5 qt5-qmake qt5-default qtchooser libmsgpack-dev

script:
 - mkdir build
 - cd build
 - cmake ..
 - make
 - make test

language: cpp

compiler:
 - gcc
 - clang

env:
 - QT4_BUILD=ON
 - QT4_BUILD=OFF

before_install:
 - sudo add-apt-repository --yes ppa:ubuntu-sdk-team/ppa
 - sudo add-apt-repository --yes ppa:kalakris/cmake
 - sudo apt-get update -qq
 - sudo apt-get upgrade -y cmake
 - sudo apt-get install -qq libqtcore4 qt4-qmake libqt5core5 qt5-qmake qt5-default qtchooser libmsgpack-dev

script:
 - mkdir build
 - cd build
 - cmake ..
 - make
 - make test

Use CMake 2.8.11.2 from ppa:kalakris/cmake instead.
Use CMake 2.8.11.2 from ppa:kalakris/cmake instead.

Seems Travis runs Ubuntu Precise.
