dist: trusty
sudo: enabled
language:
  - cpp
compiler:
  - gcc
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
      - sourceline: "ppa:beineri/opt-qt-5.10.1-trusty"
    packages:
      - gcc-6
      - g++-6
      - qt510-meta-minimal
      - cmake
script:
  - QT_ENV_SCRIPT=$(find /opt -name 'qt*-env.sh')
  - source $QT_ENV_SCRIPT
  - sudo ln -s /usr/bin/gcc-6 /usr/local/bin/gcc
  - sudo ln -s /usr/bin/g++-6 /usr/local/bin/g++
  - cd Source
  - mkdir build && cd build
  - cmake ..
  - make
  

Create the Travis CI configuration file
Create the Travis CI configuration file

Uses gcc 6 because gcc7 takes twice as long to download and it's already long with gcc6.  Uses a custom ppa for Qt because the default one by Travis isn't recent enough.
