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