File tree 1 file changed +3
-4
lines changed 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -93,9 +93,10 @@ install:
93
93
94
8000
94
# Apply patch to `subprocess` on Python versions > 2 and < 3.6.3
95
95
# https://github.com/matplotlib/matplotlib/issues/9176
96
+ # Use verify as a command to clear the errorlevel--DO NOT TRY TO SET ERRORLEVEL MANUALLY
96
97
- python -c "import sys; sys.exit(not (3,) < sys.version_info < (3,6,3))" && (
97
98
curl -sL https://github.com/python/cpython/pull/1224.patch |
98
- patch -fsup 1 -d %CONDA_PREFIX% ) || ( set errorlevel= )
99
+ patch -fsup 1 -d %CONDA_PREFIX% ) || ver >nul
99
100
100
101
# Let the install prefer the static builds of the libs
101
102
- set LIBRARY_LIB=%CONDA_PREFIX%\Library\lib
@@ -132,9 +133,7 @@ test_script:
132
133
- python -c "import matplotlib as m; m.use('tkagg'); import matplotlib.pyplot as plt; print(plt.get_backend())"
133
134
# tests
134
135
- echo The following args are passed to pytest %PYTEST_ARGS%
135
- # - python tests.py %PYTEST_ARGS% || cmd /c "exit /b 0"
136
- - pytest %PYTEST_ARGS%
137
- - echo %errorlevel%
136
+ - python tests.py %PYTEST_ARGS% || cmd /c "exit /b 0"
138
137
139
138
after_test :
140
139
# After the tests were a success, build packages (wheels and conda)
You can’t perform that action at this time.
0 commit comments