]> git.phdru.name Git - sqlconvert.git/blob - appveyor.yml
80ba5e1fb3ce83998fad10b7fad105c54c17a6cb
[sqlconvert.git] / appveyor.yml
1 # Test on windows
2 # Heavily inspired by Oliver Grisel's appveyor-demo (https://github.com/ogrisel/python-appveyor-demo)
3 version: '{branch}-{build}'
4
5 # Only test master and pull requests; skip tags.
6 # Other branches can allow themselves.
7 branches:
8   only:
9     - master
10 skip_branch_with_pr: false
11 skip_tags: true
12
13 cache:
14   - '%LOCALAPPDATA%\pip\Cache'
15
16 # Match travis
17 clone_depth: 50
18
19 environment:
20   matrix:
21     - PYTHON_HOME: "C:\\Python27"
22       PYTHON_VERSION: "2.7"
23       PYTHON_ARCH: "32"
24       TOX_ENV: "py27"
25     - PYTHON_HOME: "C:\\Python27-x64"
26       PYTHON_VERSION: "2.7"
27       PYTHON_ARCH: "64"
28       TOX_ENV: "py27"
29     - PYTHON_HOME: "C:\\Python34"
30       PYTHON_VERSION: "3.4"
31       PYTHON_ARCH: "32"
32       TOX_ENV: "py34"
33     - PYTHON_HOME: "C:\\Python34-x64"
34       PYTHON_VERSION: "3.4"
35       PYTHON_ARCH: "64"
36       TOX_ENV: "py34"
37     - PYTHON_HOME: "C:\\Python35"
38       PYTHON_VERSION: "3.5"
39       PYTHON_ARCH: "32"
40       TOX_ENV: "py35"
41     - PYTHON_HOME: "C:\\Python35-x64"
42       PYTHON_VERSION: "3.5"
43       PYTHON_ARCH: "64"
44       TOX_ENV: "py35"
45     - PYTHON_HOME: "C:\\Python36"
46       PYTHON_VERSION: "3.6"
47       PYTHON_ARCH: "32"
48       TOX_ENV: "py36"
49     - PYTHON_HOME: "C:\\Python36-x64"
50       PYTHON_VERSION: "3.6"
51       PYTHON_ARCH: "64"
52       TOX_ENV: "py36"
53     - PYTHON_HOME: "C:\\Python27"
54       PYTHON_VERSION: "2.7"
55       PYTHON_ARCH: "32"
56       TOX_ENV: "py27-sqlite-w32"
57     - PYTHON_HOME: "C:\\Python27-x64"
58       PYTHON_VERSION: "2.7"
59       PYTHON_ARCH: "64"
60       TOX_ENV: "py27-sqlite-w32"
61     - PYTHON_HOME: "C:\\Python34"
62       PYTHON_VERSION: "3.4"
63       PYTHON_ARCH: "32"
64       TOX_ENV: "py34-sqlite-w32"
65     - PYTHON_HOME: "C:\\Python34-x64"
66       PYTHON_VERSION: "3.4"
67       PYTHON_ARCH: "64"
68       TOX_ENV: "py34-sqlite-w32"
69     - PYTHON_HOME: "C:\\Python35"
70       PYTHON_VERSION: "3.5"
71       PYTHON_ARCH: "32"
72       TOX_ENV: "py35-sqlite-w32"
73     - PYTHON_HOME: "C:\\Python35-x64"
74       PYTHON_VERSION: "3.5"
75       PYTHON_ARCH: "64"
76       TOX_ENV: "py35-sqlite-w32"
77     - PYTHON_HOME: "C:\\Python36"
78       PYTHON_VERSION: "3.6"
79       PYTHON_ARCH: "32"
80       TOX_ENV: "py36-sqlite-w32"
81     - PYTHON_HOME: "C:\\Python36-x64"
82       PYTHON_VERSION: "3.6"
83       PYTHON_ARCH: "64"
84       TOX_ENV: "py36-sqlite-w32"
85     - PYTHON_HOME: "C:\\Python27"
86       PYTHON_VERSION: "2.7"
87       PYTHON_ARCH: "32"
88       TOX_ENV: "py27-flake8"
89     - PYTHON_HOME: "C:\\Python34-x64"
90       PYTHON_VERSION: "3.4"
91       PYTHON_ARCH: "64"
92       TOX_ENV: "py34-flake8"
93
94 install:
95   # Ensure we use the right python version
96   - "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;%PATH%"
97   - "SET TOXPYTHON=%PYTHON_HOME%\\python.exe"
98   - "python --version"
99   - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
100   - "pip --version"
101   - "pip install tox"
102
103 # No build step - we don't have C extensions
104 build: false
105
106 test_script:
107   - "tox -e %TOX_ENV%"