@@ -59,6 +59,7 @@ install:
5959 # for msinttypes and newer stuff
6060 - cmd : conda config --add channels conda-forge
6161 - cmd : conda config --set show_channel_urls yes
62+ - cmd : conda config --set always_yes true
6263 # For building conda packages
6364 - cmd : conda install --yes conda-build jinja2 anaconda-client
6465 # this is now the downloaded conda...
@@ -75,10 +76,10 @@ install:
7576 # same things as the requirements in ci/conda_recipe/meta.yaml
7677 # if conda-forge gets a new pyqt, it might be nice to install it as well to have more backends
7778 # https://github.com/conda-forge/conda-forge.github.io/issues/157#issuecomment-223536381
78- - cmd : conda create -y - q -n test-environment python=%PYTHON_VERSION% pip setuptools numpy python-dateutil freetype=2.6 msinttypes "tk=8.5" pyparsing pytz tornado "libpng>=1.6.21,<1.7" "zlib=1.2" "cycler>=0.10" nose mock
79+ - cmd : conda create -q -n test-environment python=%PYTHON_VERSION% pip setuptools numpy python-dateutil freetype=2.6 msinttypes "tk=8.5" pyparsing pytz tornado "libpng>=1.6.21,<1.7" "zlib=1.2" "cycler>=0.10" nose mock
7980 - activate test-environment
8081 - cmd : echo %PYTHON_VERSION% %TARGET_ARCH%
81- - cmd : IF %PYTHON_VERSION% == 2.7 conda install -y functools32
82+ - cmd : IF %PYTHON_VERSION% == 2.7 conda install -q functools32
8283
8384 # Let the install prefer the static builds of the libs
8485 - set LIBRARY_LIB=%CONDA_PREFIX%\Library\lib
@@ -107,6 +108,16 @@ test_script:
107108 - cmd : ' "%DUMPBIN%" /DEPENDENTS lib\\matplotlib\\_png*.pyd | findstr z.*.dll && exit /b 1 || exit /b 0'
108109 - cmd : ' "%DUMPBIN%" /DEPENDENTS lib\\matplotlib\\_png*.pyd | findstr png.*.dll && exit /b 1 || exit /b 0'
109110
111+ # this are optional dependencies so that we don't skip so many tests...
112+ - cmd : conda install -q pillow # miktex
113+ # missing packages on conda-forge for ffmpeg avconv mencoder imagemagick inkscape
114+ - cmd : conda install -q -c menpo ffmpeg # a repackaged version
115+ # This install sometimes failed randomly :-(
116+ # - cmd: choco install imagemagick
117+ - cmd : choco install inkscape
118+ - set "PATH=%PATH%;C:\Program Files\Inkscape\inkscape.com"
119+ - dir "C:\Program Files\Inkscape\"
120+
110121 # Test import of tkagg backend
111122 - python -c "import matplotlib as m; m.use('tkagg'); import matplotlib.pyplot as plt; print(plt.get_backend())"
112123 # tests
@@ -131,7 +142,7 @@ after_test:
131142 - cmd : path
132143 - cmd : where python
133144 - cmd : ' %CMD_IN_ENV% conda config --get channels'
134- - cmd : ' %CMD_IN_ENV% conda build .\ci\conda_recipe'
145+ - cmd : ' %CMD_IN_ENV% conda build -q .\ci\conda_recipe'
135146
136147 # Move the conda package into the dist directory, to register it
137148 # as an "artifact" for Appveyor.
0 commit comments