fix: #1631: add doc test for travis CI
Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
This commit is contained in:
parent
4e50295bf0
commit
b3ada6308b
12
.travis.yml
12
.travis.yml
@ -7,24 +7,36 @@ matrix:
|
|||||||
include:
|
include:
|
||||||
- env: TOX_ENV=py36
|
- env: TOX_ENV=py36
|
||||||
python: 3.6
|
python: 3.6
|
||||||
|
name: "Python 3.6 with Extensions"
|
||||||
- env: TOX_ENV=py36-no-ext
|
- env: TOX_ENV=py36-no-ext
|
||||||
python: 3.6
|
python: 3.6
|
||||||
|
name: "Python 3.6 without Extensions"
|
||||||
- env: TOX_ENV=py37
|
- env: TOX_ENV=py37
|
||||||
python: 3.7
|
python: 3.7
|
||||||
dist: xenial
|
dist: xenial
|
||||||
sudo: true
|
sudo: true
|
||||||
|
name: "Python 3.7 with Extensions"
|
||||||
- env: TOX_ENV=py37-no-ext
|
- env: TOX_ENV=py37-no-ext
|
||||||
python: 3.7
|
python: 3.7
|
||||||
dist: xenial
|
dist: xenial
|
||||||
sudo: true
|
sudo: true
|
||||||
|
name: "Python 3.7 without Extensions"
|
||||||
- env: TOX_ENV=lint
|
- env: TOX_ENV=lint
|
||||||
python: 3.6
|
python: 3.6
|
||||||
|
name: "Python 3.6 Linter checks"
|
||||||
- env: TOX_ENV=check
|
- env: TOX_ENV=check
|
||||||
python: 3.6
|
python: 3.6
|
||||||
|
name: "Python 3.6 Package checks"
|
||||||
- env: TOX_ENV=security
|
- env: TOX_ENV=security
|
||||||
python: 3.7
|
python: 3.7
|
||||||
dist: xenial
|
dist: xenial
|
||||||
sudo: true
|
sudo: true
|
||||||
|
name: "Python 3.7 Bandit security scan"
|
||||||
|
- env: TOX_ENV=docs
|
||||||
|
python: 3.7
|
||||||
|
dist: xenial
|
||||||
|
sudo: true
|
||||||
|
name: "Python 3.7 Documentation tests"
|
||||||
install:
|
install:
|
||||||
- pip install -U tox
|
- pip install -U tox
|
||||||
- pip install codecov
|
- pip install codecov
|
||||||
|
3
tox.ini
3
tox.ini
@ -57,12 +57,15 @@ commands =
|
|||||||
bandit --recursive sanic --skip B404,B101 --exclude sanic/reloader_helpers.py
|
bandit --recursive sanic --skip B404,B101 --exclude sanic/reloader_helpers.py
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
platform = linux2|darwin
|
||||||
|
whitelist_externals = make
|
||||||
deps =
|
deps =
|
||||||
sphinx>=2.1.2
|
sphinx>=2.1.2
|
||||||
sphinx_rtd_theme>=0.4.3
|
sphinx_rtd_theme>=0.4.3
|
||||||
recommonmark>=0.5.0
|
recommonmark>=0.5.0
|
||||||
docutils
|
docutils
|
||||||
pygments
|
pygments
|
||||||
|
gunicorn
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
make docs-test
|
make docs-test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user