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"
63 - TOX_ENV: "py27-postgres-w32"
66 PYTHON_HOME: "C:\\Python27-x64"
67 - TOX_ENV: "py34-postgres-w32"
70 PYTHON_HOME: "C:\\Python34"
71 - TOX_ENV: "py34-postgres-w32"
74 PYTHON_HOME: "C:\\Python34-x64"
75 - TOX_ENV: "py35-postgres-w32"
78 PYTHON_HOME: "C:\\Python35"
79 - TOX_ENV: "py35-postgres-w32"
82 PYTHON_HOME: "C:\\Python35-x64"
83 - TOX_ENV: "py36-postgres-w32"
86 PYTHON_HOME: "C:\\Python36"
87 - TOX_ENV: "py36-postgres-w32"
90 PYTHON_HOME: "C:\\Python36-x64"
91 - TOX_ENV: "py27-sqlite-w32"
94 PYTHON_HOME: "C:\\Python27"
95 - TOX_ENV: "py27-sqlite-w32"
98 PYTHON_HOME: "C:\\Python27-x64"
99 - TOX_ENV: "py34-sqlite-w32"
100 PYTHON_VERSION: "3.4"
102 PYTHON_HOME: "C:\\Python34"
103 - TOX_ENV: "py34-sqlite-w32"
104 PYTHON_VERSION: "3.4"
106 PYTHON_HOME: "C:\\Python34-x64"
107 - TOX_ENV: "py35-sqlite-w32"
108 PYTHON_VERSION: "3.5"
110 PYTHON_HOME: "C:\\Python35"
111 - TOX_ENV: "py35-sqlite-w32"
112 PYTHON_VERSION: "3.5"
114 PYTHON_HOME: "C:\\Python35-x64"
115 - TOX_ENV: "py36-sqlite-w32"
116 PYTHON_VERSION: "3.6"
118 PYTHON_HOME: "C:\\Python36"
119 - TOX_ENV: "py36-sqlite-w32"
120 PYTHON_VERSION: "3.6"
122 PYTHON_HOME: "C:\\Python36-x64"
123 - TOX_ENV: "py27-flake8"
124 PYTHON_VERSION: "2.7"
126 PYTHON_HOME: "C:\\Python27"
127 - TOX_ENV: "py34-flake8"
128 PYTHON_VERSION: "3.4"
130 PYTHON_HOME: "C:\\Python34-x64"
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"