Updated Branches:
  refs/heads/trunk add4cfa89 -> 93db5c094

Have tox check that the docs compile all right

Signed-off-by: Tomaz Muraus <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/bf8d8fad
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/bf8d8fad
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/bf8d8fad

Branch: refs/heads/trunk
Commit: bf8d8fad8e5849256a48d3f56923ac561ae1b1cc
Parents: add4cfa
Author: Alex Gaynor <[email protected]>
Authored: Thu Aug 1 11:41:05 2013 -0700
Committer: Tomaz Muraus <[email protected]>
Committed: Thu Aug 1 21:52:43 2013 +0200

----------------------------------------------------------------------
 .travis.yml | 1 +
 tox.ini     | 8 +++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/bf8d8fad/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index f750c18..1d5d44f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,7 @@ env:
   - TOX_ENV=pypy
   - TOX_ENV=py32
   - TOX_ENV=py33
+  - TOX_ENV=docs
 
 install:
   - pip install tox

http://git-wip-us.apache.org/repos/asf/libcloud/blob/bf8d8fad/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 536b750..3730105 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = py25,py26,py27,pypy,py32,py33
+envlist = py25,py26,py27,pypy,py32,py33,docs
 setenv =
     PIP_USE_MIRRORS=1
 
@@ -34,3 +34,9 @@ deps = mock
 [testenv:py33]
 deps = mock
        lockfile
+
+[testenv:docs]
+deps = sphinx
+basepython = python
+changedir = docs
+commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

Reply via email to