before_script:
  - "echo 'test:\n  adapter: sqlite3\n  database: test.sqlite3' >config/database.yml"
  - "bundle exec rake db:migrate RAILS_ENV=test"

rvm:
  - "2.0.0"

before_script:
  - "echo 'test:\n  adapter: sqlite3\n  database: test.sqlite3' >config/database.yml"
  - "bundle exec rake db:migrate RAILS_ENV=test"
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

rvm:
  - "2.0.0"

Set up xvfb for capybara-webkit
Set up xvfb for capybara-webkit
