File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 12
12
# Add more Ruby versions to list if supported,
13
13
# Travis supports these versions: http://rubies.travis-ci.org/
14
14
15
+ addons :
16
+ firefox : " 37.0.2" # Set Firefox Version
17
+
18
+ # Use xvfb to setup fake monitor display so Firefox GUI can be used by specs:
19
+ # http://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-GUI-(e.g.-a-Web-browser)
20
+ before_install :
21
+ - " export DISPLAY=:99.0"
22
+ - " sh -e /etc/init.d/xvfb start"
23
+
15
24
# 4. OPTIONAL Only customize the `script` option if needed.
16
25
17
26
# The `script` option is an optional list of the main build task(s). `rake` is
27
36
# Getting Started: http://docs.travis-ci.com/user/getting-started/
28
37
# Ruby & Travis CI docs: http://docs.travis-ci.com/user/languages/ruby/
29
38
# Supported Ruby Versions: http://rubies.travis-ci.org/
30
- # Custom build task: http://docs.travis-ci.com/user/customizing-the-build/
39
+ # Custom build task: http://docs.travis-ci.com/user/customizing-the-build/
40
+ # GUI, Browsers, xvfb: http://docs.travis-ci.com/user/gui-and-headless-browsers/
You can’t perform that action at this time.
0 commit comments