Add display manager on Travis to fix running tests

This commit is contained in:
wvengen 2016-02-23 23:55:54 +01:00
parent d6bf09b0b8
commit 6d338ffa9e

View file

@ -4,10 +4,15 @@ rvm:
- 2.1
services:
- redis-server
addons:
apt:
packages:
- metacity
env: COVERALLS=1
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3 && metacity --sm-disable --replace 2> metacity.err &
cache: bundler
bundler_args:
- "--without development --deployment --jobs=3 --retry=3"