1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

travis fix: added xvfb to services due to travis changes on xenial (#436)

This commit is contained in:
John Berlin 2019-01-30 17:39:11 -05:00 committed by Ilya Kreymer
parent 9be9815da4
commit 3b64b6d2c9

View File

@ -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:
@ -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