File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,18 @@ matrix:
3333 - tox --installpkg ./dist/djangorestframework-*.whl
3434 - tox # test sdist
3535
36+ - python : " 3.7"
37+ env : DOCS=links
38+ script :
39+ - pip install -r requirements/requirements-documentation.txt
40+ - mkdocs serve &
41+ - WAIT_TIME=0 && until nc -vzw 2 localhost 8000 || [ $WAIT_TIME -eq 5 ]; do sleep $(( WAIT_TIME++ )); done
42+ - if [ $WAIT_TIME == 5 ]; then echo cannot start mkdocs server on http://localhost:8000; exit 1; fi
43+ - pylinkvalidate.py -P http://localhost:8000/
44+
3645 allow_failures :
3746 - env : DJANGO=master
47+ - env : DOCS=links
3848
3949install :
4050 - pip install tox tox-venv tox-travis
Original file line number Diff line number Diff line change 11# MkDocs to build our documentation.
22mkdocs==1.0.4
3+
4+ # pylinkvalidator to check for broken links in documentation.
5+ pylinkvalidator==0.3
You can’t perform that action at this time.
0 commit comments