1 # Heavily inspired by Oliver Grisel's appveyor-demo (https://github.com/ogrisel/python-appveyor-demo)
2 version: '{branch}-{build}'
4 # Only test master and pull requests; skip tags.
5 # Other branches can allow themselves.
9 skip_branch_with_pr: false
13 - '%LOCALAPPDATA%\pip\Cache'
20 # SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
21 # /E:ON and /V:ON options are not enabled in the batch script intepreter
22 # See: http://stackoverflow.com/a/13751649/163740
23 CMD_IN_ENV: "cmd /E:ON /V:ON /C devscripts\\CI\\run_with_env.cmd"
26 - TOXENV: "py27-sqlite-w32"
29 PYTHON_HOME: "C:\\Python27"
30 - TOXENV: "py36-sqlite-w32"
33 PYTHON_HOME: "C:\\Python36"
34 - TOXENV: "py36-sqlite-w32"
37 PYTHON_HOME: "C:\\Python36-x64"
38 - TOXENV: "py37-sqlite-w32"
41 PYTHON_HOME: "C:\\Python37"
42 - TOXENV: "py37-sqlite-w32"
45 PYTHON_HOME: "C:\\Python37-x64"
48 # Ensure we use the right python version
49 - "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;%PATH%"
50 - "SET TOXPYTHON=%PYTHON_HOME%\\python.exe"
52 - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
53 - "python -m pip install --upgrade \"pip < 19.1\" setuptools"
54 - "pip install --upgrade \"tox < 3.1\" ppu"
64 - remove-old-files.py -o 180 %LOCALAPPDATA%\\pip\\Cache