Skip to content

Commit f7a116c

Browse files
committed
add nose_warnings_filters and nose-timer to all test requirements
rather than just Python 2.7
1 parent 9b6083c commit f7a116c

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ sudo: false
1010
install:
1111
- |
1212
pip install --upgrade setuptools pip
13-
python setup.py bdist_wheel && pip install --pre dist/*.whl
14-
pip install ipykernel[test] nose-timer
13+
python setup.py bdist_wheel
14+
pip install --pre dist/*.whl ipykernel[test]
1515
- |
1616
if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" || "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
1717
pip install matplotlib

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@
101101
]
102102

103103
extras_require = setuptools_args['extras_require'] = {
104-
'test:python_version=="2.7"': ['mock', 'nose_warnings_filters'],
104+
'test:python_version=="2.7"': ['mock'],
105+
'test': ['nose_warnings_filters', 'nose-timer'],
105106
}
106107

107108
if 'setuptools' in sys.modules:

0 commit comments

Comments
 (0)