@@ -6,54 +6,24 @@ platform:
6
6
environment :
7
7
matrix :
8
8
- APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
9
- MINICONDA_DIRNAME : C:\Miniconda37-x64
10
- # PYTHON_VERSION: 3.7
11
- # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
12
- # MINICONDA_DIRNAME: C:\Miniconda38-x64
13
- # PYTHON_VERSION: 3.8
14
- # - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
15
- # MINICONDA_DIRNAME: C:\Miniconda38-x64
16
- # PYTHON_VERSION: 3.9
9
+ MINICONDA_DIRNAME : C:\Miniconda38-x64
17
10
- APPVEYOR_BUILD_WORKER_IMAGE : Ubuntu
18
11
OS : Linux
19
- # PYTHON_VERSION: 3.7
20
- # - APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
21
- # PYTHON_VERSION: 3.8
22
- # - APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
23
- # PYTHON_VERSION: 3.9
24
12
- APPVEYOR_BUILD_WORKER_IMAGE : macOS
25
13
OS : MacOSX
26
- # PYTHON_VERSION: 3.7
27
- # - APPVEYOR_BUILD_WORKER_IMAGE: macOS
28
- # PYTHON_VERSION: 3.8
29
- # - APPVEYOR_BUILD_WORKER_IMAGE: macOS
30
- # PYTHON_VERSION: 3.9
31
14
32
15
ANACONDA_TOKEN :
33
16
secure : $(anaconda_token)
34
17
35
18
init :
36
19
- cmd : set "PATH=%MINICONDA_DIRNAME%;%MINICONDA_DIRNAME%\\Scripts;%PATH%"
37
20
- sh : curl -sL https://repo.anaconda.com/miniconda/Miniconda3-latest-$OS-x86_64.sh > miniconda.sh
38
- # - sh: if [[ "$APPVEYOR_BUILD_WORKER_IMAGE" == "Ubuntu" ]]; then
39
- # OS=Linux ;
40
- # else
41
- # OS=MacOSX ;
42
- # brew install gsed
43
- # export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH";
44
- # fi ;
45
- # curl -sL https://repo.anaconda.com/miniconda/Miniconda3-latest-$OS-x86_64.sh > miniconda.sh
46
21
- sh : bash miniconda.sh -b -p $HOME/miniconda;
47
22
- sh : export PATH="$HOME/miniconda/bin:$HOME/miniconda/lib:$PATH";
48
23
49
24
install :
50
25
- conda config --set always_yes yes --set changeps1 no
51
26
- conda update -q conda
52
- # Python version substitution in environment.yml for Linux/MacOS, update the Python version to be replaced when we raise the minimum Python version
53
- # - sh: sed -i 's/python>=3.6/python=$PYTHON_VERSION/g' environment.yml
54
- # Python version substitution in environment.yml for Windows, update the Python version to be replaced when we raise the minimum Python version
55
- # - pwsh: ((Get-Content -path environment.yml -Raw) -replace 'python>=3.6',"python=$env:PYTHON_VERSION") | Set-Content -Path environment.yml
56
- # - sh: cat environment.yml
57
27
- conda env create -f environment.yml
58
28
- activate cadquery
59
29
-
pip install git+https://github.com/CadQuery/[email protected]
0 commit comments