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'
24 PGPASSWORD: "Password12!"
30 PYTHON_HOME: "C:\\Python27"
34 PYTHON_HOME: "C:\\Python27-x64"
38 PYTHON_HOME: "C:\\Python34"
42 PYTHON_HOME: "C:\\Python34-x64"
46 PYTHON_HOME: "C:\\Python35"
50 PYTHON_HOME: "C:\\Python35-x64"
54 PYTHON_HOME: "C:\\Python36"
58 PYTHON_HOME: "C:\\Python36-x64"
59 - TOX_ENV: "py27-postgres-w32"
62 PYTHON_HOME: "C:\\Python27"
64 - TOX_ENV: "py27-postgres-w32"
67 PYTHON_HOME: "C:\\Python27-x64"
69 - TOX_ENV: "py34-postgres-w32"
72 PYTHON_HOME: "C:\\Python34"
74 - TOX_ENV: "py34-postgres-w32"
77 PYTHON_HOME: "C:\\Python34-x64"
79 - TOX_ENV: "py35-postgres-w32"
82 PYTHON_HOME: "C:\\Python35"
84 - TOX_ENV: "py35-postgres-w32"
87 PYTHON_HOME: "C:\\Python35-x64"
89 - TOX_ENV: "py36-postgres-w32"
92 PYTHON_HOME: "C:\\Python36"
94 - TOX_ENV: "py36-postgres-w32"
97 PYTHON_HOME: "C:\\Python36-x64"
99 - TOX_ENV: "py27-sqlite-w32"
100 PYTHON_VERSION: "2.7"
102 PYTHON_HOME: "C:\\Python27"
103 - TOX_ENV: "py27-sqlite-w32"
104 PYTHON_VERSION: "2.7"
106 PYTHON_HOME: "C:\\Python27-x64"
107 - TOX_ENV: "py34-sqlite-w32"
108 PYTHON_VERSION: "3.4"
110 PYTHON_HOME: "C:\\Python34"
111 - TOX_ENV: "py34-sqlite-w32"
112 PYTHON_VERSION: "3.4"
114 PYTHON_HOME: "C:\\Python34-x64"
115 - TOX_ENV: "py35-sqlite-w32"
116 PYTHON_VERSION: "3.5"
118 PYTHON_HOME: "C:\\Python35"
119 - TOX_ENV: "py35-sqlite-w32"
120 PYTHON_VERSION: "3.5"
122 PYTHON_HOME: "C:\\Python35-x64"
123 - TOX_ENV: "py36-sqlite-w32"
124 PYTHON_VERSION: "3.6"
126 PYTHON_HOME: "C:\\Python36"
127 - TOX_ENV: "py36-sqlite-w32"
128 PYTHON_VERSION: "3.6"
130 PYTHON_HOME: "C:\\Python36-x64"
131 - TOX_ENV: "py27-flake8"
132 PYTHON_VERSION: "2.7"
134 PYTHON_HOME: "C:\\Python27"
135 - TOX_ENV: "py34-flake8"
136 PYTHON_VERSION: "3.4"
138 PYTHON_HOME: "C:\\Python34-x64"
141 # Ensure we use the right python version
142 - "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;C:\\Program Files\\PostgreSQL\\9.5\\bin;%PATH%"
143 - "SET TOXPYTHON=%PYTHON_HOME%\\python.exe"
145 - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
147 - "pip install --upgrade pip setuptools tox ppu"
149 # No build step - we don't have C extensions
156 - "remove-old-files.py -o 180 %LOCALAPPDATA%\\pip\\Cache"