Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4104449

Browse filesBrowse files
committed
Appveyor: use newer conda packages and only run all tests on one platform
1 parent d527799 commit 4104449
Copy full SHA for 4104449

File tree

Expand file treeCollapse file tree

1 file changed

+8
-19
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-19
lines changed

‎appveyor.yml

Copy file name to clipboardExpand all lines: appveyor.yml
+8-19Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,25 @@ environment:
2626
# this variable only influence pdf/svg tests, png tests are run on any platform
2727
# only once, because it basically triples the testing times
2828
# pick the one which seems to make the most problems
29-
TEST_ALL_IMAGES: "yes"
29+
TEST_ALL: "yes"
3030
CONDA_INSTALL_LOCN: "C:\\Miniconda"
3131
- TARGET_ARCH: "x64"
3232
CONDA_PY: "27"
3333
CONDA_NPY: "18"
3434
PYTHON_VERSION: "2.7"
35-
TEST_ALL_IMAGES: "no"
35+
TEST_ALL: "no"
3636
CONDA_INSTALL_LOCN: "C:\\Miniconda-x64"
3737
- TARGET_ARCH: "x64"
3838
CONDA_PY: "34"
3939
CONDA_NPY: "110"
4040
PYTHON_VERSION: "3.4"
41-
TEST_ALL_IMAGES: "no"
41+
TEST_ALL: "no"
4242
CONDA_INSTALL_LOCN: "C:\\Miniconda3-x64"
4343
- TARGET_ARCH: "x64"
4444
CONDA_PY: "35"
4545
CONDA_NPY: "110"
4646
PYTHON_VERSION: "3.5"
47-
TEST_ALL_IMAGES: "no"
47+
TEST_ALL: "no"
4848
CONDA_INSTALL_LOCN: "C:\\Miniconda35-x64"
4949

5050
# We always use a 64-bit machine, but can build x86 distributions
@@ -116,23 +116,12 @@ test_script:
116116
- cmd: '"%DUMPBIN%" /DEPENDENTS lib\\matplotlib\\_png*.pyd | findstr png.*.dll && exit /b 1 || exit /b 0'
117117

118118
# this are optional dependencies so that we don't skip so many tests...
119-
# WORKAROUND: set miktex to the old version until I figured out whats wrong here...
120-
- cmd: conda install -q pillow miktex=2.9.5857
121-
# autoinstall latex packages (0=no, 1=autoinstall, 2=ask)
122-
# this adds this to the registry!
123-
- cmd: initexmf --set-config-value "[MPM]AutoInstall=1"
124-
# we need to put the real exe files into PATH as subprocess can't call bat files
125-
# this works for the "old" version of the miktex package, then next version should
126-
# not need it
127-
- set "PATH=%PATH%;%CONDA_PREFIX%\Library\miktex\miktex\bin"
128-
# missing packages on conda-forge for ffmpeg avconv mencoder imagemagick inkscape
129-
- cmd: conda install -q -c menpo ffmpeg # a repackaged version
119+
- cmd: if x%TEST_ALL% == xyes; conda install -q pillow miktex inkscape
120+
# missing packages on conda-forge for ffmpeg avconv mencoder imagemagick
121+
- cmd: if x%TEST_ALL% == xyes; conda install -q -c menpo ffmpeg # a repackaged version
130122
# This install sometimes failed randomly :-(
131123
#- cmd: choco install imagemagick
132-
# only install inkscape during one test run as it increases the runtime of one
133-
# test run from 13 min -> 30 min
134-
- cmd: if x%TEST_ALL_IMAGES% == xyes; choco install inkscape
135-
- cmd: if x%TEST_ALL_IMAGES% == xyes; set "PATH=%PATH%;C:\Program Files\Inkscape\inkscape.com"
124+
136125
# Test import of tkagg backend
137126
- python -c "import matplotlib as m; m.use('tkagg'); import matplotlib.pyplot as plt; print(plt.get_backend())"
138127
# tests

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.