appveyor.yml
This file
Path
appveyor.yml
57 lines · 1.6 KiB · YAML
Last changed by
Merge pull request #4898 from requests/revert_azureNate Prewittbefore adoptionc35f342
History of this fileTake it
Merge pull request #4898 from requests/revert_azureNate Prewittbefore adoptionc35f342
lines 1–57why, one step back1# AppVeyor.yml from https://github.com/ogrisel/python-appveyor-demo2# License: CC0 1.0 Universal: https://creativecommons.org/publicdomain/zero/1.0/34build: off56environment:7 matrix:8 - PYTHON: "C:\\Python27-x64"9 PYTHON_VERSION: "2.7.x"10 PYTHON_ARCH: "64"11 TOXENV: "py27"1213 - PYTHON: "C:\\Python34-x64"14 PYTHON_VERSION: "3.4.x"15 PYTHON_ARCH: "64"16 TOXENV: "py34"1718 - PYTHON: "C:\\Python35-x64"19 PYTHON_VERSION: "3.5.x"20 PYTHON_ARCH: "64"21 TOXENV: "py35"2223 - PYTHON: "C:\\Python36-x64"24 PYTHON_VERSION: "3.6.x"25 PYTHON_ARCH: "64"26 TOXENV: "py36"2728 - PYTHON: "C:\\Python37-x64"29 PYTHON_VERSION: "3.7.x"30 PYTHON_ARCH: "64"31 TOXENV: "py37"3233install:34 # Install Python (from the official .msi of https://www.python.org/) and pip when35 # not already installed.36 - ps: if (-not(Test-Path($env:PYTHON))) { & _appveyor\install.ps1 }3738 # Prepend newly installed Python to the PATH of this build (this cannot be39 # done from inside the powershell script as it would require to restart40 # the parent CMD process).41 - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"4243 # Check that we have the expected version and architecture for Python44 - "python --version"45 - "python -c \"import struct; print(struct.calcsize('P') * 8)\""4647 # Upgrade to the latest version of pip to avoid it displaying warnings48 # about it being out of date.49 - "python -m pip install --upgrade pip wheel"50 - "C:\\MinGW\\bin\\mingw32-make"51 - "pipenv install -e .[socks] --skip-lock"5253test_script:54 - "C:\\MinGW\\bin\\mingw32-make coverage"5556on_success:57 - "pipenv run codecov -f coverage.xml"