Skip to content

Commit f84cb2b

Browse files
author
Ryan P Kilby
committed
Add readme build to CI
1 parent c63e35c commit f84cb2b

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ matrix:
2222
- { python: "3.6", env: DJANGO=2.0 }
2323
- { python: "2.7", env: TOXENV=lint }
2424
- { python: "2.7", env: TOXENV=docs }
25+
- python: "2.7"
26+
env: TOXENV=readme
27+
addons:
28+
apt_packages: pandoc
2529
exclude:
2630
- { python: "2.7", env: DJANGO=master }
2731
- { python: "2.7", env: DJANGO=2.0 }

requirements/requirements-packaging.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ transifex-client==0.11
99

1010
# Pandoc to have a nice pypi page
1111
pypandoc
12+
13+
# readme_renderer to check readme syntax
14+
readme_renderer

tox.ini

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ envlist =
66
{py27,py34,py35}-django110,
77
{py27,py34,py35,py36}-django111,
88
{py34,py35,py36}-django20,
9-
{py35,py36}-djangomaster
10-
lint,docs
9+
{py35,py36}-djangomaster,
10+
lint,docs,readme,
1111

1212
[travis:env]
1313
DJANGO =
@@ -42,3 +42,8 @@ commands = mkdocs build
4242
deps =
4343
-rrequirements/requirements-testing.txt
4444
-rrequirements/requirements-documentation.txt
45+
46+
[testenv:readme]
47+
commands = ./setup.py check -rs
48+
deps =
49+
-rrequirements/requirements-packaging.txt

0 commit comments

Comments
 (0)