sudo: required dist: trusty language: cpp cache: ccache matrix: include: - compiler: gcc addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-5 env: -CXX_COMPILER=g++-5 -C_COMPILER=gcc-5 # - compiler: clang # addons: # apt: # sources: # - ubuntu-toolchain-r-test # - llvm-toolchain-precise-3.7 # packages: # - clang-3.7 # env: # -CXX_COMPILER=clang++-3.7 # -C_COMPILER=clang-3.7 script: - mkdir build - cd build - cmake --version - source /opt/qt55/bin/qt55-env.sh - qmake -v - cmake -DCMAKE_CXX_COMPILER=$CXX_COMPILER -DCMAKE_C_COMPILER=$C_COMPILER .. && make -j3 before_install: - sudo add-apt-repository --yes ppa:beineri/opt-qt551-trusty - sudo apt-get update -qq install: - sudo apt-get -y install qt55tools qt55script qt55base qt55svg addons: apt: sources: - ubuntu-toolchain-r-test packages: - cmake - cmake-data