Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add tox/travis hook

  • Loading branch information...
commit 662602e93de482c502854fbbf2ed03e911303ac6 1 parent ed0ec5e
@gawel authored
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  .gitignore
@@ -1,3 +1,4 @@
impress/static/impress
docs/html
html
+.tox
View
9 .travis.yml
@@ -0,0 +1,9 @@
+language: python
+python:
+- "2.6"
+- "2.7"
+install:
+- python bootstrap.py
+- bin/buildout install tox
+script: bin/tox
+
View
5 buildout.cfg
@@ -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
+
Please sign in to comment.
Something went wrong with that request. Please try again.