@@ -4,17 +4,19 @@ matrix:
44
55environment :
66 matrix :
7- # - CONDA_PY: 35
8- # CONDA_INSTALL_LOCN: "C:\\Miniconda35-x64"
9- # - CONDA_PY: 36
10- # CONDA_INSTALL_LOCN: "C:\\Miniconda36-x64"
11- # - CONDA_PY: 37
12- # CONDA_INSTALL_LOCN: "C:\\Miniconda37-x64"
13- - PYTHON : " C:\\ Miniconda38-x64"
14- PYTHON_VERSION : " 3.8"
15- ZIP_VERSION : " cp38"
16- PYTHON_ARCH : " 64"
17- TARGET : " x86_64-pc-windows-msvc"
7+ - CONDA_PY : 35
8+ CONDA_PY_SPEC : 3.5
9+ CONDA_INSTALL_LOCN : " C:\\ Miniconda35-x64"
10+ - CONDA_PY : 36
11+ CONDA_PY_SPEC : 3.6
12+ CONDA_INSTALL_LOCN : " C:\\ Miniconda36-x64"
13+ - CONDA_PY : 37
14+ CONDA_PY_SPEC : 3.7
15+ CONDA_INSTALL_LOCN : " C:\\ Miniconda37-x64"
16+ - CONDA_PY : 38
17+ CONDA_PY_SPEC : 3.8
18+ # appveyor doesn't come with this directory, so use 37's since we're creating an env anyway
19+ CONDA_INSTALL_LOCN : " C:\\ Miniconda37-x64"
1820
1921platform :
2022 - x64
@@ -23,11 +25,17 @@ build: off
2325
2426install :
2527 - cmd : call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
28+ - cmd : set CONDA_PY=%CONDA_PY%
29+ - cmd : set CONDA_PY_SPEC=%CONDA_PY_SPEC%
2630 - cmd : conda config --set show_channel_urls true
2731 - cmd : conda config --add channels conda-forge
28- # - cmd: conda update --yes --quiet conda
29- - cmd : conda install -y pyzmq tornado jupyter_client nbformat nbconvert ipykernel pip nose
32+ - cmd : conda update --yes --quiet conda
33+ - cmd : conda info -a
34+ - cmd : conda create -y -q -n test-env-%CONDA_PY% python=%CONDA_PY_SPEC% pyzmq tornado jupyter_client nbformat nbconvert ipykernel pip nose
35+ - cmd : conda activate test-env-%CONDA_PY%
3036 - cmd : pip install .[test]
37+ # FIXME: Use patch for python 3.8, windows issues (https://github.com/ipython/ipykernel/pull/456) - remove once released
38+ - IF %CONDA_PY% == 38 pip install --upgrade git+https://github.com/ipython/ipykernel.git
3139
3240test_script :
3341 - pytest
0 commit comments