]> git.phdru.name Git - sqlconvert.git/blob - appveyor.yml
Fix doc title
[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
54 install:
55   # Ensure we use the right python version
56   - "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;%PATH%"
57   - "SET TOXPYTHON=%PYTHON_HOME%\\python.exe"
58   - "python --version"
59   - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
60   - "pip --version"
61   - "pip install tox"
62
63 # No build step - we don't have C extensions
64 build: false
65
66 test_script:
67   - "tox -e %TOX_ENV%"