2013-01-25 00:00:50 +00:00
|
|
|
language: cpp
|
2018-09-26 18:10:50 +00:00
|
|
|
|
2018-10-10 15:07:58 +00:00
|
|
|
sudo: true
|
2018-09-26 18:10:50 +00:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
2019-09-30 09:15:59 +00:00
|
|
|
# - osx
|
|
|
|
|
|
|
|
dist: bionic
|
2018-09-26 18:10:50 +00:00
|
|
|
|
2018-10-10 15:07:58 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- POPPLER_SOURCE="https://gitlab.freedesktop.org/poppler/poppler.git"
|
2019-09-30 09:15:59 +00:00
|
|
|
matrix:
|
2019-09-30 11:05:16 +00:00
|
|
|
- PDF2HTMLEX_RELEASE="v0.18.7-poppler-0.81.0" POPPLER_RELEASE="poppler-0.81.0"
|
|
|
|
- PDF2HTMLEX_RELEASE="v0.18.0-poppler-0.74.0-ubuntu-19.04" POPPLER_RELEASE="poppler-0.74.0"
|
|
|
|
- PDF2HTMLEX_RELEASE="v0.16.0-poppler-0.62.0-ubuntu-18.04" POPPLER_RELEASE="poppler-0.62.0"
|
2018-09-26 18:10:50 +00:00
|
|
|
|
2018-10-10 15:07:58 +00:00
|
|
|
compiler: gcc
|
2018-09-27 14:17:19 +00:00
|
|
|
|
2014-11-19 18:27:08 +00:00
|
|
|
addons:
|
2018-09-26 18:10:50 +00:00
|
|
|
apt:
|
|
|
|
update: true
|
2018-10-10 15:07:58 +00:00
|
|
|
packages:
|
2018-09-27 14:17:19 +00:00
|
|
|
- build-essential
|
|
|
|
- autoconf
|
|
|
|
- git
|
2019-09-30 09:15:59 +00:00
|
|
|
- pkg-config
|
2018-10-10 15:07:58 +00:00
|
|
|
- cmake
|
2019-09-30 09:15:59 +00:00
|
|
|
- make
|
|
|
|
- gcc
|
|
|
|
- g++
|
|
|
|
# - ca-certificates
|
|
|
|
# - libfreetype6-dev
|
2018-10-10 15:07:58 +00:00
|
|
|
# Poppler-specific packages
|
2019-09-30 09:15:59 +00:00
|
|
|
- libfontforge-dev
|
|
|
|
- libfontconfig-dev
|
2018-10-10 15:07:58 +00:00
|
|
|
- libjpeg-dev
|
2019-09-30 09:15:59 +00:00
|
|
|
- libpng-dev
|
2018-10-10 15:07:58 +00:00
|
|
|
- libnss3-dev
|
|
|
|
# pdf2htmlEX-specific packages
|
|
|
|
- default-jre
|
2019-09-30 09:15:59 +00:00
|
|
|
- libcairo-dev
|
|
|
|
- libspiro-dev
|
2018-09-26 18:10:50 +00:00
|
|
|
- libpango1.0-dev
|
2019-09-30 09:15:59 +00:00
|
|
|
- poppler-data
|
|
|
|
# homebrew:
|
|
|
|
# packages:
|
|
|
|
# - autoconf
|
|
|
|
# - pkg-config
|
|
|
|
# - git
|
|
|
|
# - cmake
|
|
|
|
# - freetype
|
|
|
|
# # Poppler-specific packages
|
|
|
|
# - fontconfig
|
|
|
|
# - jpeg
|
|
|
|
# - nss
|
|
|
|
# # libuninameslist-specific packages
|
|
|
|
# - automake
|
|
|
|
# - libtool
|
|
|
|
# # fontforge-specific packages
|
|
|
|
# - python
|
|
|
|
# - glib
|
|
|
|
# - xml2
|
|
|
|
# - libspiro
|
|
|
|
# - gettext
|
|
|
|
# # pdf2htmlEX-specific packages
|
|
|
|
# - cairo
|
|
|
|
# - pango
|
|
|
|
# sauce_connect: true
|
2018-09-26 18:10:50 +00:00
|
|
|
|
2018-10-11 02:54:39 +00:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2019-09-30 09:15:59 +00:00
|
|
|
# allow_failures:
|
|
|
|
# - os: osx # Until the build passes, then re-enable.
|
2018-10-11 02:54:39 +00:00
|
|
|
|
2013-01-25 00:00:50 +00:00
|
|
|
before_install:
|
2019-09-30 11:05:16 +00:00
|
|
|
- ./.travisScripts/copyScriptsToBin
|
|
|
|
- $HOME/bin/buildPoppler.sh
|
|
|
|
- $HOME/bin/installPoppler.sh
|
|
|
|
#- $HOME/setupTests.sh
|
2018-09-26 18:10:50 +00:00
|
|
|
|
2013-01-25 12:54:40 +00:00
|
|
|
script:
|
2019-09-30 11:05:16 +00:00
|
|
|
- git checkout ${PDF2HTMLEX_RELEASE}
|
|
|
|
- git branch
|
2019-09-30 11:12:42 +00:00
|
|
|
- $HOME/bin/dobuild
|
|
|
|
- $HOME/bin/doinstall --noWait
|
2019-09-30 10:15:08 +00:00
|
|
|
- /usr/local/bin/pdf2htmlEX -v
|