Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ matrix:
# The theme used by the docs is stored separately, so we need to install that as well.
- python -m pip install sphinx==2.2.0 blurb python-docs-theme
script:
- make check suspicious html SPHINXOPTS="-q -W -j4"
- python -m pip freeze
- blurb help
- sphinx-build --version
- make check SPHINXOPTS="-q -W -j4"
- make suspicious SPHINXOPTS="-q -W -j4"
- make html SPHINXOPTS="-q -W -j4"
- name: "Documentation tests"
os: linux
language: c
Expand All @@ -71,7 +76,11 @@ matrix:
- make -j4
- make -C Doc/ PYTHON=../python venv
script:
xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest
- ./python --version
- echo "SPHINX"
- sphinx-build --version || true
- echo "SPHINX--"
- xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest
- name: "Test code coverage (Python)"
os: linux
language: c
Expand Down
15 changes: 15 additions & 0 deletions Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,21 @@ build:
echo ""; \
exit 1; \
fi

echo "PYTHON=$(PYTHON)"
$(PYTHON) --version
echo

echo "SPHINXBUILD=$(SPHINXBUILD)"
$(SPHINXBUILD) --version
echo

echo "VENVDIR=$(VENVDIR)"
$(VENVDIR)/bin/python --version
head -n1 $(VENVDIR)/bin/sphinx-build
$(VENVDIR)/bin/sphinx-build --version
echo

$(SPHINXBUILD) $(ALLSPHINXOPTS)
@echo

Expand Down