language: cpp

compiler:
  - gcc
  - clang

branches:
  only:
    - master

sudo: false

addons:
  apt:
    packages:
    - libqt4-dev
    - libqt4-private-dev
    - libev-dev

before_install:
  - git submodule update --init --recursive

script:
  - ./build.sh

language: cpp

sudo: required
dist: trusty

env:
  - QT_SELECT=4
  - QT_SELECT=5

compiler:
  - gcc
  - clang

branches:
  only:
    - master

before_install:
  - sudo apt-get -qq update
  - sudo apt-get -qq -y install libqt4-dev libqt4-private-dev qtbase5-dev qtbase5-private-dev qtchooser libev-dev
  - git submodule update --init --recursive

script:
  - ./build.sh

Use both Qt 4 and 5
Use both Qt 4 and 5
