From 0fc33004e793b00f263f37a2343fceac175ad939 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Sun, 31 Jan 2016 18:49:15 +0100 Subject: [PATCH] [FIX] travis fail without wkhtmltopdf librairies; --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 174337f4..bc7ac93b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,12 @@ cache: pip addons: apt: + sources: + - pov-wkhtmltopdf packages: - expect-dev # provides unbuffer utility - python-lxml # because pip installation is slow + - wkhtmltopdf env: - VERSION="9.0" LINT_CHECK="1" @@ -21,6 +24,10 @@ env: virtualenv: system_site_packages: true +before_install: + - "export DISPLAY=:99.0" + - "sh -e /etc/init.d/xvfb start" + install: - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}