Add readme build to CI

This commit is contained in:
Ryan P Kilby 2017-11-24 21:40:23 -05:00
parent c63e35cb09
commit f84cb2b72b
3 changed files with 14 additions and 2 deletions

View File

@ -22,6 +22,10 @@ matrix:
- { python: "3.6", env: DJANGO=2.0 }
- { python: "2.7", env: TOXENV=lint }
- { python: "2.7", env: TOXENV=docs }
- python: "2.7"
env: TOXENV=readme
addons:
apt_packages: pandoc
exclude:
- { python: "2.7", env: DJANGO=master }
- { python: "2.7", env: DJANGO=2.0 }

View File

@ -9,3 +9,6 @@ transifex-client==0.11
# Pandoc to have a nice pypi page
pypandoc
# readme_renderer to check readme syntax
readme_renderer

View File

@ -6,8 +6,8 @@ envlist =
{py27,py34,py35}-django110,
{py27,py34,py35,py36}-django111,
{py34,py35,py36}-django20,
{py35,py36}-djangomaster
lint,docs
{py35,py36}-djangomaster,
lint,docs,readme,
[travis:env]
DJANGO =
@ -42,3 +42,8 @@ commands = mkdocs build
deps =
-rrequirements/requirements-testing.txt
-rrequirements/requirements-documentation.txt
[testenv:readme]
commands = ./setup.py check -rs
deps =
-rrequirements/requirements-packaging.txt