@@ -24,11 +24,9 @@ environment:
24
24
- PYTHON_VERSION : " 3.8"
25
25
CONDA_INSTALL_LOCN : " C:\\ Miniconda3-x64"
26
26
TEST_ALL : " no"
27
- EXTRAREQS : " -r requirements/testing/extra.txt"
28
27
- PYTHON_VERSION : " 3.9"
29
28
CONDA_INSTALL_LOCN : " C:\\ Miniconda3-x64"
30
29
TEST_ALL : " no"
31
- EXTRAREQS : " -r requirements/testing/extra.txt"
32
30
33
31
# We always use a 64-bit machine, but can build x86 distributions
34
32
# with the PYTHON_ARCH variable
@@ -52,19 +50,13 @@ install:
52
50
- conda config --prepend channels conda-forge
53
51
54
52
# For building, use a new environment
55
- - conda create -q -n test-environment python=%PYTHON_VERSION% tk "pip<22.0"
56
- - activate test-environment
53
+ - echo \ \ - python=%PYTHON_VERSION% >> environment.yml
54
+ - conda env create -f environment.yml
55
+ - activate mpl-dev
57
56
# pull pywin32 from conda because on py38 there is something wrong with finding
58
57
# the dlls when installed from pip
59
58
- conda install -c conda-forge pywin32
60
- # install pyqt from conda-forge
61
- - conda install -c conda-forge pyqt
62
59
- echo %PYTHON_VERSION% %TARGET_ARCH%
63
- # Install dependencies from PyPI.
64
- - python -m pip install --upgrade -r requirements/testing/all.txt %EXTRAREQS% %PINNEDVERS%
65
- # Install optional dependencies from PyPI.
66
- # Sphinx is needed to run sphinxext tests
67
- - python -m pip install --upgrade sphinx
68
60
# Show the installed packages + versions
69
61
- conda list
70
62
@@ -104,7 +96,7 @@ artifacts:
104
96
type : zip
105
97
106
98
on_finish :
107
- - pip install codecov
99
+ - conda install codecov
108
100
- codecov -e PYTHON_VERSION PLATFORM
109
101
110
102
on_failure :
0 commit comments