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!"
27 - PYTHON_HOME: "C:\\Python27"
31 - PYTHON_HOME: "C:\\Python27-x64"
35 - PYTHON_HOME: "C:\\Python34"
39 - PYTHON_HOME: "C:\\Python34-x64"
43 - PYTHON_HOME: "C:\\Python35"
47 - PYTHON_HOME: "C:\\Python35-x64"
51 - PYTHON_HOME: "C:\\Python36"
55 - PYTHON_HOME: "C:\\Python36-x64"
59 - PYTHON_HOME: "C:\\Python27"
62 TOX_ENV: "py27-postgres-w32"
63 - PYTHON_HOME: "C:\\Python27-x64"
66 TOX_ENV: "py27-postgres-w32"
67 - PYTHON_HOME: "C:\\Python34"
70 TOX_ENV: "py34-postgres-w32"
71 - PYTHON_HOME: "C:\\Python34-x64"
74 TOX_ENV: "py34-postgres-w32"
75 - PYTHON_HOME: "C:\\Python35"
78 TOX_ENV: "py35-postgres-w32"
79 - PYTHON_HOME: "C:\\Python35-x64"
82 TOX_ENV: "py35-postgres-w32"
83 - PYTHON_HOME: "C:\\Python36"
86 TOX_ENV: "py36-postgres-w32"
87 - PYTHON_HOME: "C:\\Python36-x64"
90 TOX_ENV: "py36-postgres-w32"
91 - PYTHON_HOME: "C:\\Python27"
94 TOX_ENV: "py27-sqlite-w32"
95 - PYTHON_HOME: "C:\\Python27-x64"
98 TOX_ENV: "py27-sqlite-w32"
99 - PYTHON_HOME: "C:\\Python34"
100 PYTHON_VERSION: "3.4"
102 TOX_ENV: "py34-sqlite-w32"
103 - PYTHON_HOME: "C:\\Python34-x64"
104 PYTHON_VERSION: "3.4"
106 TOX_ENV: "py34-sqlite-w32"
107 - PYTHON_HOME: "C:\\Python35"
108 PYTHON_VERSION: "3.5"
110 TOX_ENV: "py35-sqlite-w32"
111 - PYTHON_HOME: "C:\\Python35-x64"
112 PYTHON_VERSION: "3.5"
114 TOX_ENV: "py35-sqlite-w32"
115 - PYTHON_HOME: "C:\\Python36"
116 PYTHON_VERSION: "3.6"
118 TOX_ENV: "py36-sqlite-w32"
119 - PYTHON_HOME: "C:\\Python36-x64"
120 PYTHON_VERSION: "3.6"
122 TOX_ENV: "py36-sqlite-w32"
123 - PYTHON_HOME: "C:\\Python27"
124 PYTHON_VERSION: "2.7"
126 TOX_ENV: "py27-flake8"
127 - PYTHON_HOME: "C:\\Python34-x64"
128 PYTHON_VERSION: "3.4"
130 TOX_ENV: "py34-flake8"
133 # Ensure we use the right python version
134 - "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;C:\\Program Files\\PostgreSQL\\9.5\\bin;%PATH%"
135 - "SET TOXPYTHON=%PYTHON_HOME%\\python.exe"
137 - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
139 - "pip install tox ppu"
141 # No build step - we don't have C extensions
148 - "remove-old-files.py -o 180 %LOCALAPPDATA%\\pip\\Cache"