mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
25 lines
711 B
YAML
25 lines
711 B
YAML
language: cpp
|
|
compiler: gcc
|
|
before_install:
|
|
- sudo add-apt-repository ppa:coolwanglu/pdf2htmlex --yes
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq libpoppler-dev libspiro-dev libcairo-dev libfreetype6-dev libltdl-dev
|
|
install:
|
|
- export LIBRARY_PATH=/usr/local/lib
|
|
- export LD_LIBRARY_PATH=/usr/local/lib
|
|
- pushd ..
|
|
- wget 'https://github.com/coolwanglu/fontforge/archive/pdf2htmlEX.tar.gz' -O - | tar -zxf -
|
|
- pushd fontforge-pdf2htmlEX && ./autogen.sh && ./configure && make && sudo make install && popd
|
|
- popd
|
|
before_script:
|
|
- cmake -DENABLE_SVG=ON .
|
|
script:
|
|
- make
|
|
- make test
|
|
- sudo make install
|
|
- /usr/local/bin/pdf2htmlEX -v
|
|
branches:
|
|
only:
|
|
- master
|
|
- travis
|