Permalink
Browse files

add tox/travis hook

  • Loading branch information...
1 parent ed0ec5e commit 662602e93de482c502854fbbf2ed03e911303ac6 @gawel committed Oct 27, 2012
Showing with 29 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +9 −0 .travis.yml
  3. +3 −2 buildout.cfg
  4. +16 −0 tox.ini
View
@@ -1,3 +1,4 @@
impress/static/impress
docs/html
html
+.tox
View
@@ -0,0 +1,9 @@
+language: python
+python:
+- "2.6"
+- "2.7"
+install:
+- python bootstrap.py
+- bin/buildout install tox
+script: bin/tox
+
View
@@ -1,7 +1,7 @@
[buildout]
newest = false
prefer-final = true
-parts = eggs
+parts = eggs tox
develop = .
extensions =
gp.vcsdevelop
@@ -18,4 +18,5 @@ eggs =
impress
Sphinx
-
+[tox]
+recipe=gp.recipe.tox
View
16 tox.ini
@@ -0,0 +1,16 @@
+[tox]
+envlist = py2.6,py2.7
+
+[testenv:py2.6]
+basepython=python2.6
+changedir={toxinidir}
+commands =
+ impress -i {toxinidir}/docs/index.rst -o {envdir}/html
+
+
+[testenv:py2.7]
+basepython=python2.7
+changedir={toxinidir}
+commands =
+ impress -i {toxinidir}/docs/index.rst -o {envdir}/html
+

0 comments on commit 662602e

Please sign in to comment.