Skip to content
This repository was archived by the owner on May 26, 2020. It is now read-only.

Commit 5d46cbd

Browse files
committed
Add travis/tox setup for docs
1 parent 6acd070 commit 5d46cbd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ sudo: false
44

55
env:
66
- TOX_ENV=py27-flake8
7+
- TOX_ENV=py27-docs
78
- TOX_ENV=py27-django1.6-drf2.4.3
89
- TOX_ENV=py27-django1.6-drf2.4.4
910
- TOX_ENV=py27-django1.6-drf3.0.0

tox.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py27-flake8,
3+
py27-{flake8,docs},
44
{py27,py33,py34}-django{1.6,1.7}-drf{2.4.3,2.4.4,3.0.0}
55

66
[testenv]
@@ -23,3 +23,8 @@ commands = ./runtests.py --lintonly
2323
deps =
2424
pytest==2.5.2
2525
flake8==2.2.2
26+
27+
[testenv:py27-docs]
28+
commands = mkdocs build
29+
deps =
30+
mkdocs>=0.11.1

0 commit comments

Comments
 (0)