diff --git a/.travis.yml b/.travis.yml index 0f10c7b..931580a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,9 @@ rvm: - 2.1.2 env: - MYSQL_USERNAME=travis +before_script: + - export DISPLAY=:99.0 + - sh -e /etc/init.d/xvfb start script: - RAILS_ENV=test bundle exec rake db:create db:migrate db:test:prepare - RAILS_ENV=test bundle exec rspec spec