Skip to content

Commit 227d951

Browse files
committed
FIX appveyor doesn't need option USE_PYTEST anymore
1 parent d21ced4 commit 227d951

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

appveyor.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ environment:
1515
# Workaround for https://github.com/conda/conda-build/issues/636
1616
PYTHONIOENCODING: "UTF-8"
1717
PYTEST_ARGS: -ra --timeout=300 --durations=25 -n %NUMBER_OF_PROCESSORS% --cov-report= --cov=lib -m "not network"
18-
USE_PYTEST: no
1918
PYTHONHASHSEED: 0 # Workaround for pytest-xdist flaky collection order
2019
# https://github.com/pytest-dev/pytest/issues/920
2120
# https://github.com/pytest-dev/pytest/issues/1075
@@ -31,7 +30,6 @@ environment:
3130
PYTHON_VERSION: "2.7"
3231
TEST_ALL: "no"
3332
CONDA_INSTALL_LOCN: "C:\\Miniconda-x64"
34-
USE_PYTEST: "yes"
3533
- TARGET_ARCH: "x64"
3634
CONDA_PY: "35"
3735
CONDA_NPY: "110"
@@ -62,7 +60,7 @@ cache:
6260
- '%USERPROFILE%\.cache\matplotlib'
6361

6462
init:
65-
- cmd: "ECHO %PYTHON_VERSION% PYTEST=%USE_PYTEST% %CONDA_INSTALL_LOCN%"
63+
- cmd: "ECHO %PYTHON_VERSION% %CONDA_INSTALL_LOCN%"
6664

6765
install:
6866
- cmd: set PATH=%CONDA_INSTALL_LOCN%;%CONDA_INSTALL_LOCN%\scripts;%PATH%;
@@ -134,8 +132,7 @@ test_script:
134132
- python -c "import matplotlib as m; m.use('tkagg'); import matplotlib.pyplot as plt; print(plt.get_backend())"
135133
# tests
136134
- echo The following args are passed to pytest %PYTEST_ARGS%
137-
- if x%USE_PYTEST% == xyes py.test %PYTEST_ARGS%
138-
- if x%USE_PYTEST% == xno python tests.py %PYTEST_ARGS%
135+
- python tests.py %PYTEST_ARGS%
139136
# Generate a html for visual tests
140137
- python visual_tests.py
141138
- pip install codecov

0 commit comments

Comments
 (0)