Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Frazier <1212jtraceur@gmail.com>2016-10-12 23:13:12 +0300
committerJoseph Frazier <1212jtraceur@gmail.com>2016-10-12 23:13:12 +0300
commit6b4f0730b251a36c85e3a7f344f24cc756b77bf6 (patch)
tree622f990776deb123c07cb88092bb9a61acac6a47 /.travis.yml
parent9d026db213a65c33b7f4c47fbaad8b4a79637a4a (diff)
Fix xvfb on Travis
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 782a697..0852595 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,7 +6,13 @@ env:
global:
- secure: AJsEWFnWC5W8hcF3hJzm3PT7heazJpKg85xiSvIWVzLHZU/s0h4+WfJ6t0F9v3L4awaowm62vy8CRaxRkB4lJyJg+JK2K0QN7lNFGj2f8Jx2cFlVJ1IyY959GY4iUg66JrNj1yzS02+yQfweDngyifqzb7IlxnowiveDjUO2gyo=
- secure: hvihwLUqlPchrGFXKWFF7iKRugISU7r/gLBo6O63nPeg0OwnYqYcC2BnBWoSiOdu9oR5bM4a5u0os04XL+bP3dqt324g0uBTqvyyxD6NhBsphVFkUmdUH3HMe7IQY6JTns96KT/6UkQapKhIuW4CUDeidR+5NFKvyRdKIjSawS4=
+
+# For Electron testing on Linux
+# https://github.com/electron/electron/blob/master/docs/tutorial/testing-on-headless-ci.md
+addons:
+ apt:
+ packages:
+ - xvfb
before_script:
- # For Electron testing on Linux
- # https://github.com/atom/electron/issues/4194#issuecomment-173925019
- - export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start
+ - export DISPLAY=':99.0'
+ - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &