language: ruby
rvm:
  - "1.9.3"
#  - "2.1.0"
before_script:
  - cp config/database.travis.yml config/database.yml
  - cp config/site.example.yml config/site.yml
  - bundle exec rake db:migrate RAILS_ENV=test
script: xvfb-run bundle exec rake

language: ruby
rvm:
  - "1.9.3"
#  - "2.1.0"
addons:
  apt:
    packages:
      - libqtwebkit-dev
before_script:
  - cp config/database.travis.yml config/database.yml
  - cp config/site.example.yml config/site.yml
  - bundle exec rake db:migrate RAILS_ENV=test
script: xvfb-run bundle exec rake

Fix Travis build failing due to capybara
Fix Travis build failing due to capybara

Added the libqtwebkit-dev pacakage in travis.yml

Fixes #45
