Skip to content
Snippets Groups Projects
Commit 3d0970c2 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

nosetests -> python setup.py nosetests1

parent 36da334e
No related branches found
No related tags found
No related merge requests found
...@@ -7,10 +7,8 @@ python: ...@@ -7,10 +7,8 @@ python:
- "pypy" - "pypy"
cache: pip cache: pip
script: script:
- nosetests --with-coverage - python setup.py nosetests
install: install:
- pip install coverage
- pip install codeclimate-test-reporter
- pip install -r requirements.txt - pip install -r requirements.txt
after_success: after_success:
- CODECLIMATE_REPO_TOKEN=e8e05973a6c49139de5f98013cd285f9238b78d20f053f37f6e7deeab2c2c52f codeclimate-test-reporter - CODECLIMATE_REPO_TOKEN=e8e05973a6c49139de5f98013cd285f9238b78d20f053f37f6e7deeab2c2c52f codeclimate-test-reporter
......
...@@ -6,3 +6,8 @@ max-line-length=120 ...@@ -6,3 +6,8 @@ max-line-length=120
[bdist_wheel] [bdist_wheel]
universal=1 universal=1
[nosetests]
verbosity=1
detailed-errors=1
with-coverage=1
...@@ -9,7 +9,7 @@ setup(name=u'CoolAMQP', ...@@ -9,7 +9,7 @@ setup(name=u'CoolAMQP',
author=u'DMS Serwis s.c.', author=u'DMS Serwis s.c.',
author_email=u'piotrm@smok.co', author_email=u'piotrm@smok.co',
url=u'https://github.com/smok-serwis/coolamqp', 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'], keywords=['amqp', 'rabbitmq', 'client', 'network', 'ha', 'high availability'],
packages=[ packages=[
'coolamqp', 'coolamqp',
...@@ -26,7 +26,7 @@ setup(name=u'CoolAMQP', ...@@ -26,7 +26,7 @@ setup(name=u'CoolAMQP',
Also, handles your reconnects and transactionality THE RIGHT WAY''', Also, handles your reconnects and transactionality THE RIGHT WAY''',
requires=['six', 'monotonic', 'futures'], requires=['six', 'monotonic', 'futures'],
tests_require=["nose"], tests_require=["nose", 'coverage', 'codeclimate-test-reporter'],
test_suite='nose.collector', test_suite='nose.collector',
classifiers=[ classifiers=[
'Programming Language :: Python', 'Programming Language :: Python',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment