From ebd07cc1a8bbdcc4e06c0b6e40bda89799e92a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Tue, 30 Jun 2020 13:30:44 +0200 Subject: [PATCH] since tests are ran manually, do not specify them in setup.py --- .travis.yml | 8 ++++++++ setup.cfg | 2 +- setup.py | 4 ---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index c97e5cd1..1909d7a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,6 +44,14 @@ jobs: after_script: - coverage xml - ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT + - stage: test + python: "nightly" + script: + - bash tests/test_os/test_hang_until_sig.sh + - coverage run -m nose2 -v + after_script: + - coverage xml + - ./cc-test-reporter after-build -t coverage.py --exit-code $TRAVIS_TEST_RESULT - stage: test python: "pypy3.5" script: diff --git a/setup.cfg b/setup.cfg index 61815713..27d381a7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,7 +5,7 @@ long-description = file: README.md long-description-content-type = text/markdown; charset=UTF-8 license_files = LICENSE author = Piotr MaĹlanka -author_email = piotrm@smok.co +author_email = piotr.maslanka@henrietta.com.pl description = Utilities for writing servers in Python url = https://github.com/piotrmaslanka/satella project-urls = diff --git a/setup.py b/setup.py index 30953509..0f4d265a 100644 --- a/setup.py +++ b/setup.py @@ -8,10 +8,6 @@ setup(keywords=['ha', 'high availability', 'scalable', 'scalability', 'server', install_requires=[ 'psutil' ], - tests_require=[ - "nose2", "mock", "coverage" - ], - test_suite='nose2.collector.collector', python_requires='!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*', extras_require={ 'HTTPJSONSource': ['requests'], -- GitLab