language: python
python:
  - "2.7"
  - "3.2"
# allow python dependencies to be installed via apt-get
virtualenv:
  system_site_packages: true
# command to install dependencies
install:
  - pip install --upgrade pip
  - sudo apt-get update
  - sudo apt-get install -qq ibus python3-gi gir1.2-ibus-1.0 gir1.2-wnck-3.0
  - "pip install -r requirements.txt"
# command to run tests
script: nosetests

language: python
python:
  - "2.7"
  - "3.2"
# allow python dependencies to be installed via apt-get
virtualenv:
  system_site_packages: true
# setup system for GUI testing
before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16"
# command to install dependencies
install:
  - pip install --upgrade pip
  - sudo apt-get update
  - sudo apt-get install -qq ibus python3-gi gir1.2-ibus-1.0 gir1.2-wnck-3.0 python-cairo
  - "pip install -r requirements.txt"
# command to run tests
script: nosetests

Set Travis CI to be able to test GUI
Set Travis CI to be able to test GUI

Added several commands to the Travis CI config file to allow Travis CI to be able to run the GUI Gtk in order to stop it from throwing an initialization error.

Fixes #5
