Skip to content

Commit

Permalink
Merge pull request #119 from bittner/master
Browse files Browse the repository at this point in the history
Use more targeted approach for README conversion check
  • Loading branch information
jcassee committed Nov 24, 2017
2 parents be7b530 + 2e9329d commit 7bc1467
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 5 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ envlist =
py{27,34,35}-django110
py{27,34,35,36}-django111
flake8
checkdocs
readme

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

0 comments on commit 7bc1467

Please sign in to comment.