From da5dbbc5f240e82aab9e119c2f560e2d801611be Mon Sep 17 00:00:00 2001 From: Piotr Maslanka <piotr.maslanka@henrietta.com.pl> Date: Sun, 8 Oct 2017 05:53:16 +0200 Subject: [PATCH] cc --- .travis.yml | 7 ++++++- setup.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0e41da3..bc1716d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,13 +6,18 @@ python: - "3.5" - "pypy" cache: pip +before_script: + - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter + - chmod +x ./cc-test-reporter + - ./cc-test-reporter before-build script: - python compile_definitions.py - python setup.py nosetests - - codeclimate-test-reporter install: - pip install -r requirements.txt after_success: - bash build.sh +after_script: + - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT services: - rabbitmq diff --git a/setup.py b/setup.py index b415803..eb04a2d 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ setup(keywords=['amqp', 'rabbitmq', 'client', 'network', 'ha', 'high availabilit Also, handles your reconnects and transactionality THE RIGHT WAY, though somewhat opinionated''', install_requires=['six', 'monotonic', 'futures'], - tests_require=["nose", 'coverage', 'codeclimate-test-reporter'], + tests_require=["nose", 'coverage'], test_suite='nose.collector', platforms=[ 'posix' -- GitLab