Skip to content

Commit 964fcee

Browse files
committed
Sem-Ver: bugfix In CI move to using setup.py nosetests as setup.py test has been deprecated.
Signed-off-by: David Black <[email protected]>
1 parent fb6b264 commit 964fcee

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ install:
1111
script:
1212
- pycodestyle .
1313
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 || $TRAVIS_PYTHON_VERSION == 3.6 || $TRAVIS_PYTHON_VERSION == 3.7 ]]; then flake8 . ; fi
14-
- python setup.py test
14+
- python -Wd setup.py nosetests

setup.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,8 @@ packages =
2424

2525
[bdist_wheel]
2626
universal=1
27+
28+
[nosetests]
29+
verbosity=2
30+
nocapture=1
31+
nologcapture=1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
setup(
6-
setup_requires=['pbr<=6.0.0'],
6+
setup_requires=['pbr<=6.0.0', 'nose'],
77
pbr=True,
88
test_suite='nose.collector',
99
platforms=['any'],

0 commit comments

Comments
 (0)