language: python
sudo: required

python:
  - "3.5"

#virtualenv:
#      system_site_packages: true

before_install:
  - sudo apt-add-repository ppa:beineri/opt-qt551 -y
  - sudo apt-get update
  - sudo apt-get install qt-latest
  - source /opt/qt55/bin/qt55-env.sh

install:
  - "pip install markdown whoosh"

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

script: python test.py

language: python
sudo: required

python:
  - "3.5"

#virtualenv:
#      system_site_packages: true

before_install:
  - sudo apt-add-repository ppa:beineri/opt-qt551 -y
  - sudo apt-get update
  - sudo apt-get install qt-latest
  - source /opt/qt55/bin/qt55-env.sh
  - ./ci/before_install.sh

install:
  - "pip install markdown whoosh"

before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

script: python test.py

Revert "Avoid both installing from a PPA and compiling"
Revert "Avoid both installing from a PPA and compiling"

This reverts commit d2385b94b530e6a8a8616f4c662b769ddf74ad39.

Wow, my brain is asleep today. :| I should put a comment in there saying
the before install hook is for PyQt.
