From 8d6ad516458299d4d25fb1d6c1c6f87aee0386c2 Mon Sep 17 00:00:00 2001 From: Luke Barratt Date: Sun, 10 Aug 2014 21:15:23 +0100 Subject: [PATCH] Get selenium working on travisci --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) 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