From e13eb5ef69a524219a3ddfb2142c54006f60d8a5 Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Tue, 15 Oct 2019 12:38:07 +0300 Subject: [PATCH] Modernize appveyor.yml 1. Make sure the Python I want to use exists 2. Make sure we don't use outdated virtualenv/pip/setuptools --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index c9a17e1..dc08606 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,8 +14,10 @@ init: - "echo %PYTHON%" install: + - ps: if (-not (Test-Path $env:PYTHON)) { throw "No $env:PYTHON" } - "set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - python --version + - pip install -U virtualenv # upgrade pip in tox's virtualenvs - pip install tox build: off