# Heavily inspired by Oliver Grisel's appveyor-demo (https://github.com/ogrisel/python-appveyor-demo)
version: '{branch}-{build}'
-# Only test master and pull requests; skip tags.
-# Other branches can allow themselves.
-branches:
- only:
- - master
-skip_branch_with_pr: false
-skip_tags: true
-
cache:
- '%LOCALAPPDATA%\pip\Cache'
- "SET TOXPYTHON=%PYTHON_HOME%\\python.exe"
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
- - "python -m pip install --upgrade pip setuptools"
+ - "python -m pip install --upgrade \"pip < 19.1\" setuptools"
- "pip install --upgrade \"tox < 3.1\" ppu"
- "pip --version"