diff options
author | Paul Ganssle <paul@ganssle.io> | 2017-11-16 10:09:22 -0500 |
---|---|---|
committer | Paul Ganssle <paul@ganssle.io> | 2017-11-16 13:55:21 -0500 |
commit | 4fcbd6def3b768392cfbb3b0d837eca5d4c712f7 (patch) | |
tree | e295b32f785b66dc5eb19df9f721dc20625ad3dc /appveyor.yml | |
parent | 616eb6ddd6fc26980b10fdee28c16af9b49d6721 (diff) | |
download | dateutil-4fcbd6def3b768392cfbb3b0d837eca5d4c712f7.tar.gz |
Pin py<1.5.0 on Python 3.3
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml index 1ca6f74..4294505 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,7 +17,12 @@ install: - set PATH=%PYTHON%;%PYTHON%/Scripts;c:\Program Files\PostgreSQL\9.3\bin\;%PATH% - python --version + # Not sure what the best way to get the Python minor version in a clear way + - set VERSION_CMD='python -c "import sys; print(\".\".join(map(str, sys.version_info[0:2])))"' + - for /f %%i in (%VERSION_CMD%) do set PYTHON_VERSION=%%i + # Download scripts and dependencies + - if %PYTHON_VERSION%==3.3 pip install "py<1.5.0" - "pip install -r requirements-dev.txt" - "pip install codecov" |