Skip to content

Commit 79db63b

Browse files
committed
Cleaned up yaml file and forced Windows image to use newer Miniconda
1 parent 255aebe commit 79db63b

File tree

1 file changed

+1
-31
lines changed

1 file changed

+1
-31
lines changed

appveyor.yml

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -6,54 +6,24 @@ platform:
66
environment:
77
matrix:
88
- 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
1710
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
1811
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
2412
- APPVEYOR_BUILD_WORKER_IMAGE: macOS
2513
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
3114

3215
ANACONDA_TOKEN:
3316
secure: $(anaconda_token)
3417

3518
init:
3619
- cmd: set "PATH=%MINICONDA_DIRNAME%;%MINICONDA_DIRNAME%\\Scripts;%PATH%"
3720
- 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
4621
- sh: bash miniconda.sh -b -p $HOME/miniconda;
4722
- sh: export PATH="$HOME/miniconda/bin:$HOME/miniconda/lib:$PATH";
4823

4924
install:
5025
- conda config --set always_yes yes --set changeps1 no
5126
- 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
5727
- conda env create -f environment.yml
5828
- activate cadquery
5929
- pip install git+https://github.com/CadQuery/[email protected]

0 commit comments

Comments
 (0)