mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-03-16 22:20:25 +00:00
Merge pull request #118 from bittner/feature/add-checkdocs-tox-target
Check PyPI package description generation w/ tox
This commit is contained in:
commit
be7b530f7e
2 changed files with 11 additions and 2 deletions
|
|
@ -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
10
tox.ini
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue