mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-03 20:10:10 +03:00
Add readme build to CI
This commit is contained in:
parent
c63e35cb09
commit
f84cb2b72b
|
@ -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 }
|
||||
|
|
|
@ -9,3 +9,6 @@ transifex-client==0.11
|
|||
|
||||
# Pandoc to have a nice pypi page
|
||||
pypandoc
|
||||
|
||||
# readme_renderer to check readme syntax
|
||||
readme_renderer
|
||||
|
|
9
tox.ini
9
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user