Skip to content

Commit

Permalink
Add a tox.ini, make travis use it
Browse files Browse the repository at this point in the history
Using a trick from https://github.com/Pylons/substanced/pull/128/files
to reduce duplication

Should fix tox build failures.
  • Loading branch information
mgedmin committed Sep 4, 2013
1 parent 1606144 commit df0e48d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
language: python
python:
- 2.6
- 2.7
install:
- python bootstrap.py
- bin/buildout
- pip install tox
script:
- bin/test -v1
- tox -e py${TRAVIS_PYTHON_VERSION//[.]/}
notifications:
email: false
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include *.py
include *.rst
include .travis.yml
include tox.ini
include buildout.cfg
recursive-include src *.gif
recursive-include src *.html
Expand Down
10 changes: 10 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[tox]
envlist =
py26,py27

[testenv]
deps =
zope.testing
WebTest <= 1.3.4
commands =
python setup.py test -q

0 comments on commit df0e48d

Please sign in to comment.