language: cpp

compiler:
 - gcc

env:
 - QT4_BUILD=OFF

before_install:
 - sudo add-apt-repository --yes ppa:beineri/opt-qt591-trusty
 - sudo add-apt-repository --yes ppa:kalakris/cmake
 - sudo apt-get update -qq
 - sudo apt-get install -qq cmake qt59-meta-full

script:
 - mkdir build
 - cd build
 - if [ "$QT4_BUILD" == "OFF" ]; then cmake -DBUILD_TESTS=TRUE -DQT4_BUILD=FALSE ..; else cmake -DBUILD_TESTS=TRUE -DQT4_BUILD=TRUE ..; fi
 - make
 - export CTEST_OUTPUT_ON_FAILURE=1
 - make test

language: cpp

compiler:
 - gcc

env:
 - QT4_BUILD=OFF

before_install:
 - sudo add-apt-repository --yes ppa:beineri/opt-qt591-trusty
 - sudo apt-get update -qq
 - sudo apt-get install -qq cmake qt59-meta-full

script:
 - mkdir build
 - cd build
 - if [ "$QT4_BUILD" == "OFF" ]; then cmake -DBUILD_TESTS=TRUE -DQT4_BUILD=FALSE ..; else cmake -DBUILD_TESTS=TRUE -DQT4_BUILD=TRUE ..; fi
 - make
 - export CTEST_OUTPUT_ON_FAILURE=1
 - make test

Remove broken cmake package from TravisCI.
Remove broken cmake package from TravisCI.