2 # Heavily inspired by Oliver Grisel's appveyor-demo (https://github.com/ogrisel/python-appveyor-demo)
3 version: '{branch}-{build}'
5 # Only test master and pull requests; skip tags.
6 # Other branches can allow themselves.
10 skip_branch_with_pr: false
14 - '%LOCALAPPDATA%\pip\Cache'
21 - PYTHON_HOME: "C:\\Python27"
25 - PYTHON_HOME: "C:\\Python27-x64"
29 - PYTHON_HOME: "C:\\Python34"
33 - PYTHON_HOME: "C:\\Python34-x64"
37 - PYTHON_HOME: "C:\\Python35"
41 - PYTHON_HOME: "C:\\Python35-x64"
45 - PYTHON_HOME: "C:\\Python36"
49 - PYTHON_HOME: "C:\\Python36-x64"
53 - PYTHON_HOME: "C:\\Python27"
56 TOX_ENV: "py27-sqlite-w32"
57 - PYTHON_HOME: "C:\\Python27-x64"
60 TOX_ENV: "py27-sqlite-w32"
61 - PYTHON_HOME: "C:\\Python34"
64 TOX_ENV: "py34-sqlite-w32"
65 - PYTHON_HOME: "C:\\Python34-x64"
68 TOX_ENV: "py34-sqlite-w32"
69 - PYTHON_HOME: "C:\\Python35"
72 TOX_ENV: "py35-sqlite-w32"
73 - PYTHON_HOME: "C:\\Python35-x64"
76 TOX_ENV: "py35-sqlite-w32"
77 - PYTHON_HOME: "C:\\Python36"
80 TOX_ENV: "py36-sqlite-w32"
81 - PYTHON_HOME: "C:\\Python36-x64"
84 TOX_ENV: "py36-sqlite-w32"
85 - PYTHON_HOME: "C:\\Python27"
88 TOX_ENV: "py27-flake8"
89 - PYTHON_HOME: "C:\\Python34-x64"
92 TOX_ENV: "py34-flake8"
95 # Ensure we use the right python version
96 - "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;%PATH%"
97 - "SET TOXPYTHON=%PYTHON_HOME%\\python.exe"
99 - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
103 # No build step - we don't have C extensions