@@ -2,67 +2,21 @@ version: pythonocc-demos-7.5.1.{build}
22
33environment :
44
5- global :
6- # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
7- # /E:ON and /V:ON options are not enabled in the batch script interpreter
8- # See: http://stackoverflow.com/a/13751649/163740
9- CMD_IN_ENV : " cmd /E:ON /V:ON /C .\\ ci\\ appveyor\\ obvci_appveyor_python_build_env.cmd"
10-
11- # Workaround for https://github.com/conda/conda-build/issues/636
12- PYTHONIOENCODING : " UTF-8"
13-
145 matrix :
15- - PYTHON : " C:\\ Python37_64"
16- PYTHON_VERSION : " 3.7"
17- PYTHON_ARCH : " 64"
18- CONDA_PY : " 37"
19- CONDA_NPY : " 18"
20- CONDA_INSTALL_LOCN : " C:\\ Miniconda37-x64"
21- - PYTHON : " C:\\ Python38_64"
22- PYTHON_VERSION : " 3.8"
23- PYTHON_ARCH : " 64"
24- CONDA_PY : " 38"
25- CONDA_NPY : " 18"
26- CONDA_INSTALL_LOCN : " C:\\ Miniconda38-x64"
27- - PYTHON : " C:\\ Python39_64"
28- PYTHON_VERSION : " 3.9"
29- PYTHON_ARCH : " 64"
30- CONDA_PY : " 39"
31- CONDA_NPY : " 18"
32- CONDA_INSTALL_LOCN : " C:\\ Miniconda39-x64"
33-
34- # We always use a 64-bit machine, but can build x86 distributions
35- # with the TARGET_ARCH variable (which is used by CMD_IN_ENV).
36- platform :
37- - x64
6+ - PYTHON_VERSION : " 3.7"
7+ - PYTHON_VERSION : " 3.8"
8+ - PYTHON_VERSION : " 3.9"
389
3910install :
40- # Set the CONDA_NPY, although it has no impact on the actual build. We need this because of a test within conda-build.
41- - cmd : set CONDA_NPY=19
42- # Remove cygwin (and therefore the git that comes with it).
43- - cmd : rmdir C:\cygwin /s /q
44- # Use the pre-installed Miniconda for the desired arch
45- #
46- # However, it is really old. So, we need to update some
47- # things before we proceed. That seems to require it being
48- # on the path. So, we temporarily put conda on the path
49- # so that we can update it. Then we remove it so that
50- # we can do a proper activation.
51- - cmd : set "OLDPATH=%PATH%"
52- - cmd : set "PATH=%CONDA_INSTALL_LOCN%\\Scripts;%CONDA_INSTALL_LOCN%\\Library\\bin;%PATH%"
11+ - cmd : set "PATH=C:\\Miniconda37-x64\\Scripts;C:\\Miniconda37-x64\\Library\\bin;%PATH%"
12+ - cmd : conda -V
5313 - cmd : conda config --set always_yes yes --set changeps1 no
5414 - cmd : conda update conda
55- - cmd : set "PATH=%OLDPATH%"
56- - cmd : call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
57- - cmd : conda config --set show_channel_urls true
58- - cmd : conda config --add channels https://conda.anaconda.org/dlr-sc
59- - cmd : conda config --add channels https://conda.anaconda.org/tpaviot
15+ - cmd : conda create -n testenv python="%PYTHON_VERSION%"
16+ - cmd : activate testenv
6017 - cmd : conda install -c conda-forge pythonocc-core==7.5.1
61- # - cmd: conda install pyqt
62- # - cmd: conda install wxpython
6318 - cmd : conda install numpy
6419
65-
6620build : off
6721
6822test_script :
0 commit comments