language: python
python:
  - "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
before_install:
    - sudo apt-get update -qq
    - sudo apt-get install -qq libusb-dev
install: pip install -r requirements.txt --use-mirrors
# command to run tests, e.g. python setup.py test
script:  nosetests

language: python
python:
  - "2.7"
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
before_install:
    - sudo add-apt-repository -y ppa:pyside/ppa
    - sudo apt-get update -qq
    - sudo apt-get install -qq libusb-dev python-pyside
    - export PYTHONPATH="$PYTHONPATH:/usr/lib/python2.7/dist-packages/"
    - "export DISPLAY=:99.0"
    - "sh -e /etc/init.d/xvfb start"
    - sleep 3
install: pip install -r requirements.txt --use-mirrors
# command to run tests, e.g. python setup.py test
script:  nosetests

Update Travis configuration for PySide
Update Travis configuration for PySide
