language: ruby
rvm:
  - 1.9.3
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - RAILS_ENV=test bundle exec rake db:migrate > /dev/null 2>&1

language: ruby
rvm:
  - 1.9.3
before_script:
  - bundle exec rake db:migrate > /dev/null 2>&1
  - RAILS_ENV=test bundle exec rake db:migrate > /dev/null 2>&1

Use headless builds in Travis
Use headless builds in Travis
