Skip to content

Commit

Permalink
travis fix: added xvfb to services due to travis changes on xenial (#436
Browse files Browse the repository at this point in the history
)
  • Loading branch information
N0taN3rd authored and ikreymer committed Jan 30, 2019
1 parent 9be9815 commit 3b64b6d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ dist: xenial

addons:
chrome: stable
firefox: latest
sauce_connect: true

env:
- WR_TEST=no
- WR_TEST=yes

services: xvfb

cache:
directories:
Expand All @@ -27,9 +27,7 @@ install:
- ./.travis/install.sh

before_install:
- "sysctl kernel.unprivileged_userns_clone=1"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- 'if [ "$WR_TEST" = "yes" ]; then sudo sysctl kernel.unprivileged_userns_clone=1; fi'

script:
- ./.travis/test.sh
Expand Down

0 comments on commit 3b64b6d

Please sign in to comment.