Skip to content

Commit 255aebe

Browse files
committed
Simplification to only test using the latest stable version of Python from conda
1 parent e87cdc5 commit 255aebe

File tree

1 file changed

+31
-28
lines changed

1 file changed

+31
-28
lines changed

appveyor.yml

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,50 +7,53 @@ environment:
77
matrix:
88
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
99
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
17-
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
18-
PYTHON_VERSION: 3.7
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
1917
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
20-
PYTHON_VERSION: 3.8
21-
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
22-
PYTHON_VERSION: 3.9
23-
- APPVEYOR_BUILD_WORKER_IMAGE: macOS
24-
PYTHON_VERSION: 3.7
25-
- APPVEYOR_BUILD_WORKER_IMAGE: macOS
26-
PYTHON_VERSION: 3.8
18+
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
2724
- APPVEYOR_BUILD_WORKER_IMAGE: macOS
28-
PYTHON_VERSION: 3.9
25+
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
2931

3032
ANACONDA_TOKEN:
3133
secure: $(anaconda_token)
3234

3335
init:
3436
- cmd: set "PATH=%MINICONDA_DIRNAME%;%MINICONDA_DIRNAME%\\Scripts;%PATH%"
35-
- sh: if [[ "$APPVEYOR_BUILD_WORKER_IMAGE" == "Ubuntu" ]]; then
36-
OS=Linux ;
37-
else
38-
OS=MacOSX ;
39-
brew install gsed
40-
export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH";
41-
fi ;
42-
curl -sL https://repo.anaconda.com/miniconda/Miniconda3-latest-$OS-x86_64.sh > miniconda.sh
37+
- 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
4346
- sh: bash miniconda.sh -b -p $HOME/miniconda;
4447
- sh: export PATH="$HOME/miniconda/bin:$HOME/miniconda/lib:$PATH";
4548

4649
install:
4750
- conda config --set always_yes yes --set changeps1 no
4851
- conda update -q conda
4952
# Python version substitution in environment.yml for Linux/MacOS, update the Python version to be replaced when we raise the minimum Python version
50-
- sh: sed -i 's/python>=3.6/python=$PYTHON_VERSION/g' environment.yml
53+
# - sh: sed -i 's/python>=3.6/python=$PYTHON_VERSION/g' environment.yml
5154
# Python version substitution in environment.yml for Windows, update the Python version to be replaced when we raise the minimum Python version
52-
- pwsh: ((Get-Content -path environment.yml -Raw) -replace 'python>=3.6',"python=$env:PYTHON_VERSION") | Set-Content -Path environment.yml
53-
- sh: cat environment.yml
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
5457
- conda env create -f environment.yml
5558
- activate cadquery
5659
- pip install git+https://github.com/CadQuery/[email protected]

0 commit comments

Comments
 (0)