Skip to content

Commit 2818086

Browse files
author
Ryan P Kilby
committed
Add readme build to CI
1 parent bccd324 commit 2818086

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ 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", env: TOXENV=readme }
2526
exclude:
2627
- { python: "2.7", env: DJANGO=master }
2728
- { 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)