File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Makefile for github3.py
2
2
#
3
- # Copyright 2012 , Ian Cordasco
3
+ # Copyright 2015 , Ian Cordasco
4
4
5
5
COVERAGE_INCLUDE := github3/*.py
6
- TEST_RUNNER := python setup.py test
6
+ TEST_RUNNER := tox
7
7
8
8
.DEFAULT_GOAL := tests
9
9
@@ -23,4 +23,4 @@ htmlcov: .coverage
23
23
coverage html --omit=github3/packages/*
24
24
25
25
docs : docs/* .rst
26
- make -C docs/ html
26
+ tox -e docs
Original file line number Diff line number Diff line change @@ -44,6 +44,13 @@ commands =
44
44
python setup.py sdist bdist_wheel
45
45
twine upload {posargs} dist/*
46
46
47
+ [testenv:docs]
48
+ deps =
49
+ sphinx>=1.3.0
50
+ .
51
+ commands =
52
+ sphinx-build -E -W -c docs -b html docs/ docs/_build/html
53
+
47
54
[pytest]
48
55
addopts = -q
49
56
norecursedirs = *.egg .git .* _*
You can’t perform that action at this time.
0 commit comments