1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-02 16:25:41 +00:00
pdf2htmlEX/.travis.yml

101 lines
2.4 KiB
YAML
Raw Normal View History

2013-01-25 00:00:50 +00:00
language: cpp
sudo: true
os:
- linux
2019-09-30 09:15:59 +00:00
# - osx
2019-11-26 08:43:41 +00:00
# - windows
# for windows *test* of AppImage
# see https://docs.travis-ci.com/user/build-matrix/#using-different-programming-languages-per-job
# and https://discourse.appimage.org/t/run-appimage-on-windows/177
# and https://docs.travis-ci.com/user/reference/windows/
# why fuse is not possible on windows: https://superuser.com/questions/179436/is-it-possible-to-use-fuse-with-windows
2019-09-30 09:15:59 +00:00
2019-11-25 20:04:24 +00:00
dist: bionic
2019-11-25 18:06:04 +00:00
services:
- docker
compiler: gcc
2019-11-25 19:27:09 +00:00
env:
2019-11-25 19:31:00 +00:00
global:
- UNATTENDED="--assume-yes"
2019-11-26 09:07:03 +00:00
- FORCE_REINSTALL="--reinstall"
2019-11-25 19:27:09 +00:00
2019-11-25 22:06:17 +00:00
#addons:
# apt:
# update: true
# packages:
# # build tools
# - git
# - pkg-config
# - ruby
# - autoconf
# - libtool
# - cmake
# - make
# - gcc
# - g++
# - gettext
# - openjdk-8-jre-headless
# - tree
# # dev libraries
# - libcairo-dev
# - libspiro-dev
# - libpng-dev
# - libjpeg-dev
# - poppler-data
# - libpango1.0-dev
# - liblcms2-dev
# - libxml2-dev
# - libuninameslist-dev
2019-09-30 09:15:59 +00:00
# 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
matrix:
fast_finish: true
2019-09-30 09:15:59 +00:00
# allow_failures:
# - os: osx # Until the build passes, then re-enable.
2013-01-25 12:54:40 +00:00
script:
2019-11-25 18:06:04 +00:00
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
2019-11-25 22:06:17 +00:00
- ./buildScripts/getBuildTools || travis_terminate 1;
- ./buildScripts/getDevLibraries || travis_terminate 1;
2019-11-26 13:10:52 +00:00
- ./buildScripts/getPoppler || travis_terminate 1;
- ./buildScripts/buildPoppler || travis_terminate 1;
- ./buildScripts/installPoppler || travis_terminate 1;
2019-11-25 19:57:11 +00:00
- ./buildScripts/getFontforge || travis_terminate 1;
- ./buildScripts/buildFontforge || travis_terminate 1;
- ./buildScripts/installFontforge || travis_terminate 1;
- ./buildScripts/buildPdf2htmlEX || travis_terminate 1;
- ./buildScripts/installPdf2htmlEX || travis_terminate 1;
- ./buildScripts/createAppImage || travis_terminate 1;
- ./buildScripts/createDockerImage || travis_terminate 1;
2019-11-25 18:06:04 +00:00
- docker push $DOCKER_USERNAME/pdf2htmlex
2019-11-26 09:55:05 +00:00