Skip to content

Commit

Permalink
Merge pull request #118 from bittner/feature/add-checkdocs-tox-target
Browse files Browse the repository at this point in the history
Check PyPI package description generation w/ tox
  • Loading branch information
jcassee committed Nov 18, 2017
2 parents 9738f31 + ef44d0c commit be7b530
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ envlist =
py{27,34,35}-django110
py{27,34,35,36}-django111
flake8
checkdocs

[testenv]
commands =
Expand All @@ -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

Expand Down

0 comments on commit be7b530

Please sign in to comment.