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 pylint
  - "pip install -r requirements.txt"
  - pip install coveralls
  # Install schema for program
  - cd data
  - cd glib-2.0
  - glib-compile-schemas schemas
# command to run tests
script:
  - nosetests  --with-coverage --cover-package=jekyll_helper
# run coveralls
after_success:
  - coveralls

sudo: required
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 pylint
  - "pip install -r requirements.txt"
  - pip install coveralls
  # Install schema for program
  - cd data
  - cd glib-2.0
  - cd schemas
  - sudo cp net.launchpad.jekyll-helper.gschema.xml /usr/share/glib-2.0/schemas
  - sudo /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
  - cd ..
  - cd ..
  - cd ..
# command to run tests
script:
  - nosetests  --with-coverage --cover-package=jekyll_helper
# run coveralls
after_success:
  - coveralls

Set Travis CI to correctly install the settings schema
Set Travis CI to correctly install the settings schema

Changed the Travis CI configuration file to have it correctly install the settings schema for the program.

Fixes #20
