Debian Codegraph @

appveyor.yml

raw symbols SCIP
1 # AppVeyor.yml from https://github.com/ogrisel/python-appveyor-demo
2 # License: CC0 1.0 Universal: http://creativecommons.org/publicdomain/zero/1.0/
3
4 build: off
5
6 environment:
7 matrix:
8 - PYTHON: "C:\\Python266-x64"
9 PYTHON_VERSION: "2.6.6"
10 PYTHON_ARCH: "64"
11 TOXENV: "py26"
12
13 - PYTHON: "C:\\Python27-x64"
14 PYTHON_VERSION: "2.7.x"
15 PYTHON_ARCH: "64"
16 TOXENV: "py27"
17
18 - PYTHON: "C:\\Python33-x64"
19 PYTHON_VERSION: "3.3.x"
20 PYTHON_ARCH: "64"
21 TOXENV: "py33"
22
23 - PYTHON: "C:\\Python34-x64"
24 PYTHON_VERSION: "3.4.x"
25 PYTHON_ARCH: "64"
26 TOXENV: "py34"
27
28 - PYTHON: "C:\\Python35-x64"
29 PYTHON_VERSION: "3.5.x"
30 PYTHON_ARCH: "64"
31 TOXENV: "py35"
32
33 - PYTHON: "C:\\Python36-x64"
34 PYTHON_VERSION: "3.6.x"
35 PYTHON_ARCH: "64"
36 TOXENV: "py36"
37
38 install:
39 # Install Python (from the official .msi of http://python.org) and pip when
40 # not already installed.
41 - ps: if (-not(Test-Path($env:PYTHON))) { & .appveyor\install.ps1 }
42
43 # Prepend newly installed Python to the PATH of this build (this cannot be
44 # done from inside the powershell script as it would require to restart
45 # the parent CMD process).
46 - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
47
48 # Check that we have the expected version and architecture for Python
49 - "python --version"
50 - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
51
52 # Upgrade to the latest version of pip to avoid it displaying warnings
53 # about it being out of date.
54 - "pip install --disable-pip-version-check --user --upgrade pip"
55 - "pip install tox"
56
57 - "python setup.py install"
58
59 test_script:
60 - "tox"
61
62 on_success:
63 - ".tox\\%TOXENV%\\Scripts\\activate"
64 - "pip install codecov"
65 - "codecov --env PLATFORM,TOXENV"
66
67 branches:
68 only:
69 - master
70 - release