Skip to content

Commit 8a60e9e

Browse files
committed
Merge pull request #8 from msabramo/tox
Add tox.ini; make .travis.yml use it
2 parents 85442e9 + afcf97e commit 8a60e9e

3 files changed

Lines changed: 21 additions & 7 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ build/
44
coverage
55
dist/
66
MANIFEST
7+
.tox

.travis.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
language: python
2-
python:
3-
- "2.6"
4-
- "2.7"
5-
- "3.3"
6-
# - "pypy" - no getrefcount
7-
8-
script: nosetests
2+
env:
3+
- TOXENV=py26
4+
- TOXENV=py27
5+
- TOXENV=py33
6+
- TOXENV=py34
7+
install:
8+
- pip install tox
9+
script:
10+
- tox

tox.ini

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Tox (http://tox.testrun.org/) is a tool for running tests
2+
# in multiple virtualenvs. This configuration file will run the
3+
# test suite on all supported python versions. To use it, "pip install tox"
4+
# and then run "tox" from this directory.
5+
6+
[tox]
7+
envlist = py26, py27, py33, py34
8+
9+
[testenv]
10+
commands = nosetests
11+
deps = nose

0 commit comments

Comments
 (0)