Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a22df489
Commit
a22df489
authored
Nov 28, 2018
by
Victor Stinner
Committed by
GitHub
Nov 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-35240: Add "doctest" job to Travis CI (GH-10753)
Create a new "doctest" job in Travis CI to run "make doctest".
parent
b7278736
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
.travis.yml
.travis.yml
+16
-4
No files found.
.travis.yml
View file @
a22df489
...
@@ -57,6 +57,20 @@ matrix:
...
@@ -57,6 +57,20 @@ matrix:
-
python -m pip install sphinx==1.8.2 blurb python-docs-theme
-
python -m pip install sphinx==1.8.2 blurb python-docs-theme
script
:
script
:
-
make check suspicious html SPHINXOPTS="-q -W -j4"
-
make check suspicious html SPHINXOPTS="-q -W -j4"
-
os
:
linux
language
:
c
compiler
:
clang
env
:
TESTING=doctest
addons
:
apt
:
packages
:
-
xvfb
before_script
:
-
./configure
-
make -j4
-
make -C Doc/ PYTHON=../python venv
script
:
xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest
-
os
:
osx
-
os
:
osx
language
:
c
language
:
c
compiler
:
clang
compiler
:
clang
...
@@ -96,7 +110,7 @@ before_install:
...
@@ -96,7 +110,7 @@ before_install:
-
set -e
-
set -e
-
|
-
|
# Check short-circuit conditions
# Check short-circuit conditions
if [[ "${TESTING}" != "docs" ]]
if [[ "${TESTING}" != "docs"
&& "${TESTING}" != "doctest"
]]
then
then
if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]
if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]
then
then
...
@@ -121,6 +135,7 @@ before_install:
...
@@ -121,6 +135,7 @@ before_install:
install
:
install
:
-
|
-
|
# Install OpenSSL as necessary
# Install OpenSSL as necessary
# Note: doctest needs OpenSSL
if [[ "${TESTING}" != "docs" ]]
if [[ "${TESTING}" != "docs" ]]
then
then
# clang complains about unused-parameter a lot, redirect stderr
# clang complains about unused-parameter a lot, redirect stderr
...
@@ -160,9 +175,6 @@ script:
...
@@ -160,9 +175,6 @@ script:
XVFB_RUN=xvfb-run;
XVFB_RUN=xvfb-run;
fi
fi
$XVFB_RUN make buildbottest TESTOPTS="-j4 -uall,-cpu"
$XVFB_RUN make buildbottest TESTOPTS="-j4 -uall,-cpu"
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
$XVFB_RUN make PYTHON=../python SPHINXOPTS="-q -W -j4" -C Doc/ venv doctest
fi
notifications
:
notifications
:
email
:
false
email
:
false
irc
:
irc
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment