sudo: required
dist: trusty

language: c++

compiler:
  - clang
  - gcc

install:
  - sudo add-apt-repository -y ppa:beineri/opt-qt57-trusty
  - sudo apt-get update -qq
  - sudo apt-get install -qq cmake qt57base

script:
  - /opt/qt57/bin/qt57-env.sh
  - cmake -DBUILD_TESTS=on .
  - make
  - ctest

sudo: required
dist: trusty

language: c++

compiler:
  - clang
  - gcc

install:
  - sudo add-apt-repository -y ppa:beineri/opt-qt57-trusty
  - sudo apt-get update -qq
  - sudo apt-get install -qq cmake qt57base

before_script:
  - export PATH=$PATH:/opt/qt57/bin

script:
  - cmake -DBUILD_TESTS=on .
  - make
  - ctest

Fix path issue with CMake.
Fix path issue with CMake.
