Skip to content

Commit

Permalink
Modernize appveyor.yml
Browse files Browse the repository at this point in the history
1. Make sure the Python I want to use exists
2. Make sure we don't use outdated virtualenv/pip/setuptools
  • Loading branch information
mgedmin committed Oct 15, 2019
1 parent bdbd229 commit e13eb5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e13eb5e

Please sign in to comment.