Merge pull request #118 from bittner/feature/add-checkdocs-tox-target

Check PyPI package description generation w/ tox
This commit is contained in:
Joost Cassee 2017-11-18 22:41:08 +01:00 committed by GitHub
commit be7b530f7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

View file

@ -23,7 +23,8 @@ matrix:
- { python: 3.6, env: DJANGO=1.10 }
- { python: 3.3, env: DJANGO=1.11 }
include:
- { python: 2.7, env: TOXENV=flake8 }
- { python: 3.6, env: TOXENV=flake8 }
- { python: 3.6, env: TOXENV=checkdocs }
install:
- pip install tox-travis

10
tox.ini
View file

@ -7,6 +7,7 @@ envlist =
py{27,34,35}-django110
py{27,34,35,36}-django111
flake8
checkdocs
[testenv]
commands =
@ -23,8 +24,15 @@ deps =
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
whitelist_externals = sh
[testenv:checkdocs]
deps =
collective.checkdocs
pygments
commands =
python setup.py -q sdist
python setup.py checkdocs
[testenv:flake8]
basepython = python2.7
deps = flake8
commands = flake8