From 2e9329dbb81bc61483f04818e1a3f17c6235cc40 Mon Sep 17 00:00:00 2001 From: Peter Bittner Date: Thu, 23 Nov 2017 00:56:11 +0100 Subject: [PATCH] Use more targeted approach for README conversion check --- .travis.yml | 2 +- tox.ini | 14 +++++--------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index bec34a4..2fcb67c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/tox.ini b/tox.ini index 927acf3..4572c7c 100644 --- a/tox.ini +++ b/tox.ini @@ -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