Use tox tests to catch distribution issues

This commit is contained in:
efokschaner 2015-10-17 02:01:19 -07:00
parent 36d09677e4
commit bcf8f78e92
3 changed files with 11 additions and 2 deletions

View File

@ -2,11 +2,10 @@ language: python
sudo: false
python:
- '2.7'
- '2.6'
install:
- pip install -r dev-requirements.txt
- pip install twine
script: nosetests tests.py --with-coverage --cover-package=jsonrpclib
script: tox
deploy:
provider: pypi
user: joshmarshall

View File

@ -1,6 +1,11 @@
coverage==4.0
linecache2==1.0.0
nose==1.3.7
pluggy==0.3.1
py==1.4.30
six==1.9.0
tox==2.1.1
traceback2==1.4.0
unittest2==1.1.0
virtualenv==13.1.2
wheel==0.24.0

5
tox.ini Normal file
View File

@ -0,0 +1,5 @@
[tox]
envlist = py26,py27
[testenv]
deps= -rdev-requirements.txt
commands=nosetests tests.py --with-coverage --cover-package=jsonrpclib