Skip to content

Commit e86dfa9

Browse files
authored
Merge pull request yourlabs#752 from yourlabs/docs_test
Added docs test
2 parents 7fd92f7 + 1cc3dc1 commit e86dfa9

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ env:
88
- PIP_TIMEOUT=30
99
matrix:
1010
- TOXENV=checkqa
11+
- TOXENV=docs
1112
- TOXENV=base-py27-django18-sqlite
1213
- TOXENV=base-py27-django19-sqlite
1314
- TOXENV=base-py27-django110-sqlite

docs/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
# documentation root, use os.path.abspath to make it absolute, like shown here.
2323
sys.path.append(
2424
os.path.abspath(os.path.join(os.path.dirname(__file__), "_ext")))
25-
sys.path.insert(0, os.path.abspath('../../../lib/python2.7/site-packages/'))
2625
sys.path.insert(0, os.path.abspath('../src/'))
2726
sys.path.append(
2827
os.path.abspath(os.path.join(os.path.dirname(__file__), "../test_project")))

tox.ini

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,13 @@ deps =
4444
flake8-import-order
4545
mccabe
4646
pep8-naming
47+
48+
[testenv:docs]
49+
changedir = {toxinidir}/docs
50+
deps =
51+
sphinx
52+
commands =
53+
pip install -r requirements.txt
54+
make html
55+
whitelist_externals =
56+
make

0 commit comments

Comments
 (0)