File tree 2 files changed +8
-3
lines changed 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,10 @@ matrix:
42
42
- env : DISTRIB="conda" PYTHON_VERSION="3.6.2" INSTALL_MKL="true"
43
43
NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1" PANDAS_VERSION="0.20.3"
44
44
CYTHON_VERSION="0.26.1" COVERAGE=true
45
+ CHECK_PYTEST_SOFT_DEPENDENCY="true"
45
46
if : type != cron
46
47
# flake8 linting on diff wrt common ancestor with upstream/master
47
- # and check soft dependency on pytest
48
- - env : RUN_FLAKE8="true" CHECK_PYTEST_SOFT_DEPENDENCY="true"
48
+ - env : RUN_FLAKE8="true"
49
49
SKIP_TESTS="true" DISTRIB="conda" PYTHON_VERSION="3.5"
50
50
INSTALL_MKL="true" NUMPY_VERSION="1.13.1" SCIPY_VERSION="0.19.1"
51
51
CYTHON_VERSION="0.26.1"
Original file line number Diff line number Diff line change 63
63
if [[ " $CHECK_PYTEST_SOFT_DEPENDENCY " == " true" ]]; then
64
64
conda remove -y py pytest || echo " pytest not found by conda"
65
65
pip uninstall -y py pytest || echo " pytest not found by pip"
66
- PYTHONPATH=. python sklearn/utils/tests/test_estimator_checks.py
66
+ if [[ " $COVERAGE " == " true" ]]; then
67
+ CMD=" coverage run -a"
68
+ else
69
+ CMD=" python"
70
+ fi
71
+ $CMD sklearn/utils/tests/test_estimator_checks.py
67
72
fi
You can’t perform that action at this time.
0 commit comments