From 4ca27bb5ccd65c631b4426c47dabd5198a630882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 27 Jan 2020 15:22:21 +0100 Subject: [PATCH] Do not run setup.py test as that is deprecated in new setuptools --- .travis.yml | 2 +- setup.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d002933d..1b30a60f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,7 +34,7 @@ install: script: - podman build -t $DIST -f test/Dockerfile-$DIST . - - podman run -v $(pwd):/usr/src/rpmlint/ $DIST python3 setup.py test + - podman run -v $(pwd):/usr/src/rpmlint/ $DIST python3 -m pytest - podman run -v $(pwd):/usr/src/rpmlint/ $DIST flake8 after_success: diff --git a/setup.py b/setup.py index 3e2ee1ca..e72b74ce 100755 --- a/setup.py +++ b/setup.py @@ -42,7 +42,6 @@ setup( 'pyxdg', 'toml', ], - setup_requires=['pytest-runner'], tests_require=[ 'pytest', 'pytest-cov',