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"
40 # Ensure we use the right python version
41 - "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;%PATH%"
42 - "SET TOXPYTHON=%PYTHON_HOME%\\python.exe"
44 - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
45 - "python -m pip install --upgrade pip setuptools"
46 - "pip install --upgrade tox ppu"
56 - remove-old-files.py -o 180 %LOCALAPPDATA%\\pip\\Cache