|
| 1 | +# https://packaging.python.org/guides/supporting-windows-using-appveyor/ |
| 2 | + |
| 3 | +environment: |
| 4 | + |
| 5 | + matrix: |
| 6 | + # The only test we perform on Windows are our actual code tests. All linting, static |
| 7 | + # analysis, etc are only run on Linux (via Travis CI). |
| 8 | + |
| 9 | + # Python 2.7 |
| 10 | + - PYTHON: "C:\\Python27" |
| 11 | + TOXENV: "py27-local" |
| 12 | + - PYTHON: "C:\\Python27" |
| 13 | + TOXENV: "py27-integ" |
| 14 | + - PYTHON: "C:\\Python27" |
| 15 | + TOXENV: "py27-accept" |
| 16 | + - PYTHON: "C:\\Python27" |
| 17 | + TOXENV: "py27-examples" |
| 18 | + - PYTHON: "C:\\Python27-x64" |
| 19 | + TOXENV: "py27-local" |
| 20 | + - PYTHON: "C:\\Python27-x64" |
| 21 | + TOXENV: "py27-integ" |
| 22 | + - PYTHON: "C:\\Python27-x64" |
| 23 | + TOXENV: "py27-accept" |
| 24 | + - PYTHON: "C:\\Python27-x64" |
| 25 | + TOXENV: "py27-examples" |
| 26 | + |
| 27 | + # Python 3.4 |
| 28 | + - PYTHON: "C:\\Python34" |
| 29 | + TOXENV: "py34-local" |
| 30 | + - PYTHON: "C:\\Python34" |
| 31 | + TOXENV: "py34-integ" |
| 32 | + - PYTHON: "C:\\Python34" |
| 33 | + TOXENV: "py34-accept" |
| 34 | + - PYTHON: "C:\\Python34" |
| 35 | + TOXENV: "py34-examples" |
| 36 | + - PYTHON: "C:\\Python34-x64" |
| 37 | + DISTUTILS_USE_SDK: "1" |
| 38 | + TOXENV: "py34-local" |
| 39 | + - PYTHON: "C:\\Python34-x64" |
| 40 | + DISTUTILS_USE_SDK: "1" |
| 41 | + TOXENV: "py34-integ" |
| 42 | + - PYTHON: "C:\\Python34-x64" |
| 43 | + DISTUTILS_USE_SDK: "1" |
| 44 | + TOXENV: "py34-accept" |
| 45 | + - PYTHON: "C:\\Python34-x64" |
| 46 | + DISTUTILS_USE_SDK: "1" |
| 47 | + TOXENV: "py34-examples" |
| 48 | + |
| 49 | + # Python 3.5 |
| 50 | + - PYTHON: "C:\\Python35" |
| 51 | + TOXENV: "py35-local" |
| 52 | + - PYTHON: "C:\\Python35" |
| 53 | + TOXENV: "py35-integ" |
| 54 | + - PYTHON: "C:\\Python35" |
| 55 | + TOXENV: "py35-accept" |
| 56 | + - PYTHON: "C:\\Python35" |
| 57 | + TOXENV: "py35-examples" |
| 58 | + - PYTHON: "C:\\Python35-x64" |
| 59 | + TOXENV: "py35-local" |
| 60 | + - PYTHON: "C:\\Python35-x64" |
| 61 | + TOXENV: "py35-integ" |
| 62 | + - PYTHON: "C:\\Python35-x64" |
| 63 | + TOXENV: "py35-accept" |
| 64 | + - PYTHON: "C:\\Python35-x64" |
| 65 | + TOXENV: "py35-examples" |
| 66 | + |
| 67 | + # Python 3.6 |
| 68 | + - PYTHON: "C:\\Python36" |
| 69 | + TOXENV: "py36-local" |
| 70 | + - PYTHON: "C:\\Python36" |
| 71 | + TOXENV: "py36-integ" |
| 72 | + - PYTHON: "C:\\Python36" |
| 73 | + TOXENV: "py36-accept" |
| 74 | + - PYTHON: "C:\\Python36" |
| 75 | + TOXENV: "py36-examples" |
| 76 | + - PYTHON: "C:\\Python36-x64" |
| 77 | + TOXENV: "py36-local" |
| 78 | + - PYTHON: "C:\\Python36-x64" |
| 79 | + TOXENV: "py36-integ" |
| 80 | + - PYTHON: "C:\\Python36-x64" |
| 81 | + TOXENV: "py36-accept" |
| 82 | + - PYTHON: "C:\\Python36-x64" |
| 83 | + TOXENV: "py36-examples" |
| 84 | + |
| 85 | +install: |
| 86 | + # Prepend newly installed Python to the PATH of this build |
| 87 | + - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" |
| 88 | + # Check the Python version to verify the correct version was installed |
| 89 | + - "python --version" |
| 90 | + - "python -m pip install wheel tox" |
| 91 | + |
| 92 | +build: off |
| 93 | + |
| 94 | +test_script: |
| 95 | + - "tox" |
0 commit comments