]> git.phdru.name Git - ppu.git/blob - appveyor.yml
Update README.txt and TODO
[ppu.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:\\Python33"
30       PYTHON_VERSION: "3.3"
31       PYTHON_ARCH: "32"
32       TOX_ENV: "py33"
33     - PYTHON_HOME: "C:\\Python33-x64"
34       PYTHON_VERSION: "3.3"
35       PYTHON_ARCH: "64"
36       TOX_ENV: "py33"
37     - PYTHON_HOME: "C:\\Python34"
38       PYTHON_VERSION: "3.4"
39       PYTHON_ARCH: "32"
40       TOX_ENV: "py34"
41     - PYTHON_HOME: "C:\\Python34-x64"
42       PYTHON_VERSION: "3.4"
43       PYTHON_ARCH: "64"
44       TOX_ENV: "py34"
45     - PYTHON_HOME: "C:\\Python35"
46       PYTHON_VERSION: "3.5"
47       PYTHON_ARCH: "32"
48       TOX_ENV: "py35"
49     - PYTHON_HOME: "C:\\Python35-x64"
50       PYTHON_VERSION: "3.5"
51       PYTHON_ARCH: "64"
52       TOX_ENV: "py35"
53     - PYTHON_HOME: "C:\\Python36"
54       PYTHON_VERSION: "3.6"
55       PYTHON_ARCH: "32"
56       TOX_ENV: "py36"
57     - PYTHON_HOME: "C:\\Python36-x64"
58       PYTHON_VERSION: "3.6"
59       PYTHON_ARCH: "64"
60       TOX_ENV: "py36"
61
62 install:
63   # Ensure we use the right python version
64   - "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;%PATH%"
65   - "SET TOXPYTHON=%PYTHON_HOME%\\python.exe"
66   - "python --version"
67   - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
68   - "pip --version"
69   - "pip install tox"
70
71 # No build step - _namemapper extension will be built under tox
72 build: false
73
74 test_script:
75   - "tox -e %TOX_ENV%"