From b4ea12abe72f56b2c1a3a5cb5f690939e289b3d6 Mon Sep 17 00:00:00 2001 From: sthoo <40681172+sth2018@users.noreply.github.com> Date: Sun, 1 Jul 2018 14:26:19 +0800 Subject: [PATCH] Update .travis.yml --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9e68298..5499f8f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,5 +26,9 @@ before_install: - sudo make install - curl -L -O https://apps.ankiweb.net/downloads/current/anki-2.0.52-source.tgz - tar -xvf current/anki-2.0.52-source.tgz - + +before_script: + - "export DISPLAY=:99.0" + - "sh -e /etc/init.d/xvfb start" + script: python runanki -b .