diff --git a/.travis.yml b/.travis.yml index 69a03b88169ce7ca357198145919e542216f0838..2fa26c41a93f388742f38133c7fe10df88e6c198 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,10 +7,8 @@ python: - "pypy" cache: pip script: - - nosetests --with-coverage + - python setup.py nosetests install: - - pip install coverage - - pip install codeclimate-test-reporter - pip install -r requirements.txt after_success: - CODECLIMATE_REPO_TOKEN=e8e05973a6c49139de5f98013cd285f9238b78d20f053f37f6e7deeab2c2c52f codeclimate-test-reporter diff --git a/setup.cfg b/setup.cfg index cdd41f09fc5bca6d9a07e432abcb45b64a7ea694..a223ae398abf1dc4253914d33e4b718f231fc893 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,3 +6,8 @@ max-line-length=120 [bdist_wheel] universal=1 + +[nosetests] +verbosity=1 +detailed-errors=1 +with-coverage=1 diff --git a/setup.py b/setup.py index 577157526771d75fdac1d0eb720ce420b77a23e7..19bdec4c664d2c8f2068199d2e0bcc2717bad0f7 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup(name=u'CoolAMQP', author=u'DMS Serwis s.c.', author_email=u'piotrm@smok.co', url=u'https://github.com/smok-serwis/coolamqp', - download_url='https://github.com/smok-serwis/coolamqp/archive/v0.91.zip', + download_url='https://github.com/smok-serwis/coolamqp/archive/v0.90.zip', keywords=['amqp', 'rabbitmq', 'client', 'network', 'ha', 'high availability'], packages=[ 'coolamqp', @@ -26,7 +26,7 @@ setup(name=u'CoolAMQP', Also, handles your reconnects and transactionality THE RIGHT WAY''', requires=['six', 'monotonic', 'futures'], - tests_require=["nose"], + tests_require=["nose", 'coverage', 'codeclimate-test-reporter'], test_suite='nose.collector', classifiers=[ 'Programming Language :: Python',