diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2014-05-16 17:55:22 +0200 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2014-05-16 17:55:22 +0200 |
| commit | 8a60e9ed4724aafd9d0e51012599ea5d1672cabc (patch) | |
| tree | ed4c14736a5cdec82ea6568372741698e7dd3030 | |
| parent | 85442e9f29af5fc702b0c66ae1658963ddc42b6f (diff) | |
| parent | afcf97e6cd6584c97ccfe3de57bdc58df0ba9f8a (diff) | |
| download | smmap-8a60e9ed4724aafd9d0e51012599ea5d1672cabc.tar.gz | |
Merge pull request #8 from msabramo/tox
Add tox.ini; make .travis.yml use it
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | .travis.yml | 16 | ||||
| -rw-r--r-- | tox.ini | 11 |
3 files changed, 21 insertions, 7 deletions
@@ -4,3 +4,4 @@ build/ coverage dist/ MANIFEST +.tox diff --git a/.travis.yml b/.travis.yml index d8640a0..91f4328 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,10 @@ language: python -python: - - "2.6" - - "2.7" - - "3.3" - # - "pypy" - no getrefcount - -script: nosetests +env: + - TOXENV=py26 + - TOXENV=py27 + - TOXENV=py33 + - TOXENV=py34 +install: + - pip install tox +script: + - tox @@ -0,0 +1,11 @@ +# Tox (http://tox.testrun.org/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = py26, py27, py33, py34 + +[testenv] +commands = nosetests +deps = nose |
