language: cpp

sudo: required
dist: trusty

matrix:
    include:
        - compiler: clang

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq qt5-default qttools5-dev-tools graphviz-dev

script:
  - qmake
  - make
  - make check

language: cpp

sudo: required
dist: trusty

matrix:
    include:
        - compiler: clang

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq qt5-default qttools5-dev-tools graphviz-dev

# QtTest requires X server
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3 # give xvfb some time to start

script:
  - qmake
  - make
  - make check

Add xvfb virtual x server
Add xvfb virtual x server
