Permalink
Browse files

Twavis?

  • Loading branch information...
ezkl committed Jun 2, 2012
1 parent c25bf6e commit cdfb253c1c7f2d3b06442255625cdfff3cb0637a
Showing with 4 additions and 3 deletions.
  1. +3 −2 .travis.yml
  2. +1 −1 lib/capit/capture.rb
View
@@ -3,5 +3,6 @@ rvm:
- 1.8.7
- 1.9.2
- 1.9.3
-before_install:
- - sudo apt-get install cutycapt -y
+before_script:
+ - "export DISPLAY=:99.0"
+ - "sh -e /etc/init.d/xvfb start"
View
@@ -118,7 +118,7 @@ def capture_command
if determine_os == :linux and check_xvfb
- xvfb = 'xvfb-run --server-args="-screen 99, 1024x768x24" '
+ xvfb = 'xvfb-run --server-args="-screen 0, 1024x768x24" '
xvfb.concat(cmd)
else
cmd

0 comments on commit cdfb253

Please sign in to comment.