File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,20 @@ matrix:
5757 - python -m pip install sphinx==1.8.2 blurb python-docs-theme
5858 script :
5959 - make check suspicious html SPHINXOPTS="-q -W -j4"
60+ - os : linux
61+ language : c
62+ compiler : clang
63+ env : TESTING=doctest
64+ addons :
65+ apt :
66+ packages :
67+ - xvfb
68+ before_script :
69+ - ./configure
70+ - make -j4
71+ - make -C Doc/ PYTHON=../python venv
72+ script :
73+ xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest
6074 - os : osx
6175 language : c
6276 compiler : clang
@@ -96,7 +110,7 @@ before_install:
96110 - set -e
97111 - |
98112 # Check short-circuit conditions
99- if [[ "${TESTING}" != "docs" ]]
113+ if [[ "${TESTING}" != "docs" && "${TESTING}" != "doctest" ]]
100114 then
101115 if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]
102116 then
@@ -121,6 +135,7 @@ before_install:
121135install :
122136 - |
123137 # Install OpenSSL as necessary
138+ # Note: doctest needs OpenSSL
124139 if [[ "${TESTING}" != "docs" ]]
125140 then
126141 # clang complains about unused-parameter a lot, redirect stderr
@@ -160,9 +175,6 @@ script:
160175 XVFB_RUN=xvfb-run;
161176 fi
162177 $XVFB_RUN make buildbottest TESTOPTS="-j4 -uall,-cpu"
163- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
164- $XVFB_RUN make PYTHON=../python SPHINXOPTS="-q -W -j4" -C Doc/ venv doctest
165- fi
166178notifications :
167179 email : false
168180 irc :
You can’t perform that action at this time.
0 commit comments