From 797890c821e35387ab62b2caee55518d788cd8b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Tue, 27 Oct 2015 10:59:35 +0100 Subject: [PATCH] Add deps --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.travis.yml b/.travis.yml index 802d652..1d01efc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,27 @@ python: - "3.5" - "nightly" +sudo: required + +addons: + apt: + packages: + - ghostscript + - p7zip-full + install: + - sudo add-apt-repository ppa:fontforge/fontforge --yes + - sudo add-apt-repository ppa:coolwanglu/pdf2htmlex --yes + - sudo apt-get update -qq + - sudo apt-get install -qq libpoppler-dev libpoppler-private-dev libspiro-dev libcairo-dev libpango1.0-dev libfreetype6-dev libltdl-dev libfontforge-dev python-imaging python-pip firefox xvfb + - sudo apt-get install libreoffice + - sudo apt-get install unoconv + - git clone https://github.com/coolwanglu/pdf2htmlEX.git + - pushd pdf2htmlEX + - cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DENABLE_SVG=ON . + - make + - sudo make install + - popd - pip install python-magic - pip install coveralls - pip install codecov