Merge pull request #119 from bittner/master

Use more targeted approach for README conversion check
This commit is contained in:
Joost Cassee 2017-11-24 20:39:12 +01:00 committed by GitHub
commit 7bc1467374
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 10 deletions

View file

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

14
tox.ini
View file

@ -7,7 +7,7 @@ envlist =
py{27,34,35}-django110
py{27,34,35,36}-django111
flake8
checkdocs
readme
[testenv]
commands =
@ -24,18 +24,14 @@ 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]
deps = flake8
commands = flake8
[testenv:readme]
deps = readme_renderer
commands = python setup.py check --restructuredtext --strict
[travis:env]
DJANGO =
1.7: django17