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:
57
57
- python -m pip install sphinx==1.8.2 blurb python-docs-theme
58
58
script :
59
59
- 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
60
74
- os : osx
61
75
language : c
62
76
compiler : clang
@@ -96,7 +110,7 @@ before_install:
96
110
- set -e
97
111
- |
98
112
# Check short-circuit conditions
99
- if [[ "${TESTING}" != "docs" ]]
113
+ if [[ "${TESTING}" != "docs" && "${TESTING}" != "doctest" ]]
100
114
then
101
115
if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]
102
116
then
@@ -121,6 +135,7 @@ before_install:
121
135
install :
122
136
- |
123
137
# Install OpenSSL as necessary
138
+ # Note: doctest needs OpenSSL
124
139
if [[ "${TESTING}" != "docs" ]]
125
140
then
126
141
# clang complains about unused-parameter a lot, redirect stderr
@@ -160,9 +175,6 @@ script:
160
175
XVFB_RUN=xvfb-run;
161
176
fi
162
177
$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
166
178
notifications :
167
179
email : false
168
180
irc :
You can’t perform that action at this time.
0 commit comments