Do not run setup.py test as that is deprecated in new setuptools

This commit is contained in:
Tomáš Chvátal 2020-01-27 15:22:21 +01:00 committed by Tomáš Chvátal
parent 23150cd28b
commit 4ca27bb5cc
2 changed files with 1 additions and 2 deletions

View File

@ -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:

View File

@ -42,7 +42,6 @@ setup(
'pyxdg',
'toml',
],
setup_requires=['pytest-runner'],
tests_require=[
'pytest',
'pytest-cov',