Add display manager on Travis to fix running tests
This commit is contained in:
parent
d6bf09b0b8
commit
6d338ffa9e
1 changed files with 7 additions and 2 deletions
|
@ -4,10 +4,15 @@ rvm:
|
||||||
- 2.1
|
- 2.1
|
||||||
services:
|
services:
|
||||||
- redis-server
|
- redis-server
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- metacity
|
||||||
env: COVERALLS=1
|
env: COVERALLS=1
|
||||||
before_install:
|
before_install:
|
||||||
- "export DISPLAY=:99.0"
|
- export DISPLAY=:99.0
|
||||||
- "sh -e /etc/init.d/xvfb start"
|
- sh -e /etc/init.d/xvfb start
|
||||||
|
- sleep 3 && metacity --sm-disable --replace 2> metacity.err &
|
||||||
cache: bundler
|
cache: bundler
|
||||||
bundler_args:
|
bundler_args:
|
||||||
- "--without development --deployment --jobs=3 --retry=3"
|
- "--without development --deployment --jobs=3 --retry=3"
|
||||||
|
|
Loading…
Reference in a new issue