File tree Expand file tree Collapse file tree 3 files changed +38
-2
lines changed Expand file tree Collapse file tree 3 files changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -41,3 +41,4 @@ docs/_build
41
41
42
42
# Virtual environment
43
43
env /
44
+ coverage.xml
Original file line number Diff line number Diff line change 25
25
26
26
# Add any Sphinx extension module names here, as strings. They can be extensions
27
27
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
28
- extensions = ['sphinx.ext.autodoc' , 'sphinx.ext.autosummary' ,
29
- 'sphinx.ext.todo' , 'sphinx.ext.viewcode' ]
28
+ extensions = [
29
+ 'sphinx.ext.autodoc' ,
30
+ 'sphinx.ext.autosummary' ,
31
+ 'sphinx.ext.todo' ,
32
+ 'sphinx.ext.viewcode' ,
33
+ ]
30
34
31
35
# Add any paths that contain templates here, relative to this directory.
32
36
templates_path = ['_templates' ]
Original file line number Diff line number Diff line change
1
+ [tox]
2
+ envlist =
3
+ py26,py27,cover,docs
4
+ # TODO: add py32,py33,py34
5
+
6
+ [testenv]
7
+ commands =
8
+ nosetests
9
+ deps =
10
+ nose
11
+ unittest2
12
+
13
+ [testenv:cover]
14
+ basepython =
15
+ python2.7
16
+ commands =
17
+ nosetests --with-xunit --with-xcoverage --cover-package =gcloud --nocapture --cover-erase
18
+ deps =
19
+ nose
20
+ unittest2
21
+ coverage
22
+ nosexcover
23
+
24
+ [testenv:docs]
25
+ basepython =
26
+ python2.7
27
+ commands =
28
+ sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
29
+ # sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
30
+ deps =
31
+ Sphinx
You can’t perform that action at this time.
0 commit comments