Skip to content

Commit

Permalink
Update AppVeyor config
Browse files Browse the repository at this point in the history
Use the new VS2019 image to get more recent installs and eliminate
CygWin. For some reason cygwin's git was breaking setuptools_scm. Also
add a config to make Python 3.7 use the preinstalled Python 3.7
miniconda.
  • Loading branch information
dopplershift committed Sep 21, 2019
1 parent a318454 commit b082bc9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
image: Visual Studio 2019
clone_depth: 5

environment:
Expand All @@ -16,6 +17,8 @@ install:
# Use the pre-installed Miniconda for the desired arch
- ps: if($env:PYTHON_VERSION -eq '3.6')
{ $env:CONDA_PATH="$($env:CONDA_PATH)36" }
- ps: if($env:PYTHON_VERSION -eq '3.7')
{ $env:CONDA_PATH="$($env:CONDA_PATH)37" }
- ps: if($env:PLATFORM -eq 'x64')
{ $env:CONDA_PATH="$($env:CONDA_PATH)-x64" }
- ps: $env:path="$($env:CONDA_PATH);$($env:CONDA_PATH)\Scripts;$($env:CONDA_PATH)\Library\bin;C:\cygwin\bin;$($env:PATH)"
Expand Down

0 comments on commit b082bc9

Please sign in to comment.