Skip to content

Commit bcf8f78

Browse files
committed
Use tox tests to catch distribution issues
1 parent 36d0967 commit bcf8f78

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ language: python
22
sudo: false
33
python:
44
- '2.7'
5-
- '2.6'
65
install:
76
- pip install -r dev-requirements.txt
87
- pip install twine
9-
script: nosetests tests.py --with-coverage --cover-package=jsonrpclib
8+
script: tox
109
deploy:
1110
provider: pypi
1211
user: joshmarshall

dev-requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
coverage==4.0
22
linecache2==1.0.0
33
nose==1.3.7
4+
pluggy==0.3.1
5+
py==1.4.30
46
six==1.9.0
7+
tox==2.1.1
58
traceback2==1.4.0
69
unittest2==1.1.0
10+
virtualenv==13.1.2
11+
wheel==0.24.0

tox.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[tox]
2+
envlist = py26,py27
3+
[testenv]
4+
deps= -rdev-requirements.txt
5+
commands=nosetests tests.py --with-coverage --cover-package=jsonrpclib

0 commit comments

Comments
 (0)