Skip to content

Commit

Permalink
Use tox for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Dec 23, 2014
1 parent a6c7f2a commit dd95787
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -4,3 +4,5 @@ bin/
develop-eggs/
eggs/
*.egg-info/
.tox/
.eggs/
14 changes: 7 additions & 7 deletions .travis.yml
@@ -1,12 +1,12 @@
language: python
python:
- 2.6
- 2.7
- 3.3
sudo: false
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
install:
- python bootstrap.py
- bin/buildout
- travis_retry pip install tox
script:
- bin/test -v1
- tox
notifications:
email: false
4 changes: 4 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,4 @@
include *.py
include *.txt
include buildout.cfg
recursive-include src *.zcml
16 changes: 16 additions & 0 deletions tox.ini
@@ -0,0 +1,16 @@
[tox]
envlist =
py26,py27,py33

[testenv]
deps =
zope.app.wsgi >= 3.9.0
zope.browserpage
zope.component[test]
zope.login
zope.password
zope.principalregistry
zope.securitypolicy
zope.site
commands =
python setup.py test -q

0 comments on commit dd95787

Please sign in to comment.