Skip to content

Commit

Permalink
move travis testing to tox
Browse files Browse the repository at this point in the history
  • Loading branch information
agroszer committed Nov 9, 2015
1 parent 91f3feb commit b61dfd5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
sudo: false
cache:
directories:
- .tox
language: python
python:
- 2.6
- 2.7
- 3.3
env:
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
install:
- pip install .
- travis_retry pip install tox
script:
- python setup.py test -q
- tox
notifications:
email: false
12 changes: 12 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[tox]
envlist =
py26,py27,py33

[testenv]
commands =
python setup.py test -q
# without explicit deps, setup.py test will download a bunch of eggs into $PWD
# (and it seems I can't use zope.dottedname[testing] here, so forget DRY)
deps =
zope.interface
zope.schema

0 comments on commit b61dfd5

Please sign in to comment.