Skip to content

Commit b042a35

Browse files
committed
Add addtional before_script xvfb config for .travis.yml
1 parent 527bc44 commit b042a35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ env:
1212
- export RAILS_ENV=test
1313

1414
before_script:
15-
- xvfb-run -a
15+
- export DISPLAY=:99.0
16+
- sh -e /etc/init.d/xvfb start
1617
script:
1718
- bundle exec rake db:schema:load
1819
- DRIVER=selenium_firefox bundle exec rake

0 commit comments

Comments
 (0)