From 673d2cd72afbded70484701898caaae9a5623607 Mon Sep 17 00:00:00 2001 From: op-ct Date: Tue, 20 Aug 2019 20:28:11 -0400 Subject: [PATCH] (SIMP-7017) Fix docs:pdf errors on PNG images (#354) SIMP-7017 #close --- .travis.yml | 8 +++++++- requirements.txt | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5244e135..af88740c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,8 +17,14 @@ jobs: # on the master branch. It always returns a 403 error, even if it's given a token. - script: pytest -x --capture=no docs/conflib/release_mapping_test.py || true - - stage: Sphinx HTML build + - stage: Sphinx docs build + name: Sphinx HTML build script: sphinx-build -n -b html -d sphinx_cache docs html + - stage: Sphinx docs build + name: Sphinx PDF build + script: sphinx-build -E -n -b pdf -d sphinx_cache docs pdf + if: 'env(BUILD_PDF) = yes' + - stage: Sphinx link check script: sphinx-build -E -n -b linkcheck docs linkcheck || ( cat linkcheck/output.txt ; false ) diff --git a/requirements.txt b/requirements.txt index cc33215e..d67913bd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ Babel>=2.3 Jinja2>=2.8 MarkupSafe>=0.23 -Pillow>=2.9.0 +Pillow>=2.9.0,<6 PyYAML>=5.1 Pygments>=2.0.2 Sphinx>=1.4.4,<1.8.0