@@ -23,13 +23,14 @@ environment:
2323 # In theory we could use a single CONDA_INSTALL_LOCN because we construct
2424 # the envs anyway. But using one for the right python version hopefully
2525 # making things faster due to package caching.
26- - PYTHON_VERSION : " 3.6 "
27- CONDA_INSTALL_LOCN : " C:\\ Miniconda36 -x64"
26+ - PYTHON_VERSION : " 3.7 "
27+ CONDA_INSTALL_LOCN : " C:\\ Miniconda37 -x64"
2828 TEST_ALL : " no"
2929 EXTRAREQS : " -r requirements/testing/travis_extra.txt"
30- - PYTHON_VERSION : " 3.7 "
30+ - PYTHON_VERSION : " 3.8 "
3131 CONDA_INSTALL_LOCN : " C:\\ Miniconda37-x64"
3232 TEST_ALL : " no"
33+ EXTRAREQS : " -r requirements/testing/travis_extra.txt"
3334
3435# We always use a 64-bit machine, but can build x86 distributions
3536# with the PYTHON_ARCH variable
@@ -55,19 +56,15 @@ install:
5556 # For building, use a new environment
5657 - conda create -q -n test-environment python=%PYTHON_VERSION% tk
5758 - activate test-environment
59+ # pull pywin32 from conda because on py38 there is something wrong with finding
60+ # the dlls when insalled from pip
61+ - conda install -c conda-forge pywin32
5862 - echo %PYTHON_VERSION% %TARGET_ARCH%
5963 # Install dependencies from PyPI.
6064 - python -mpip install --upgrade -r requirements/testing/travis_all.txt %EXTRAREQS% %PINNEDVERS%
6165 # Install optional dependencies from PyPI.
6266 # Sphinx is needed to run sphinxext tests
6367 - python -mpip install --upgrade sphinx
64-
65- # Apply patch to `subprocess` on Python versions > 2 and < 3.6.3
66- # https://github.com/matplotlib/matplotlib/issues/9176
67- - python -c "import sys; sys.exit(not (3,) < sys.version_info < (3,6,3))" && (
68- curl -sL https://github.com/python/cpython/pull/1224.patch |
69- patch -fsup 1 -d %CONDA_PREFIX% ) || cmd /c "exit /b 0"
70-
7168 # Show the installed packages + versions
7269 - conda list
7370
0 commit comments