File: .appveyor.yml

package info (click to toggle)
python-aiohttp 3.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 5,612 kB
  • sloc: python: 36,917; ansic: 15,734; makefile: 365; sh: 83
file content (42 lines) | stat: -rw-r--r-- 1,323 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
environment:
  PYPI_PASSWD:
    secure: HrwOVde4wZoYHJf9bZ5AsQ==
  matrix:
    - PYTHON: "C:\\Python35"
    - PYTHON: "C:\\Python35-x64"
    - PYTHON: "C:\\Python36"
    - PYTHON: "C:\\Python36-x64"
    - PYTHON: "C:\\Python37"
    - PYTHON: "C:\\Python37-x64"

install:
  # Ensure the Git Submoduldes have been pulled down too
  - git submodule update --init --recursive

  - "tools/build.cmd %PYTHON%\\python.exe -m pip install -U pip wheel setuptools"
  - "tools/build.cmd %PYTHON%\\python.exe -m pip install -r requirements/cython.txt"
  - "tools/build.cmd %PYTHON%\\python.exe -m pip install -r requirements/ci.txt"

build_script:
  - "tools/build.cmd %PYTHON%\\python.exe -m setup sdist bdist_wheel"

test_script:
  - "tools/build.cmd %PYTHON%\\python.exe -m pytest -c pytest.ci.ini --cov-report xml"

after_test:
  - "tools/build.cmd %PYTHON%\\python.exe -m codecov -f coverage.xml -X gcov"

artifacts:
  - path: dist\*

deploy_script:
  - ps: >-
      if($env:appveyor_repo_tag -eq 'True') {
          Invoke-Expression "$env:PYTHON\\python.exe -m twine upload dist/* --username aio-libs-bot --password $env:PYPI_PASSWD --skip-existing"
      }

#notifications:
#  - provider: Webhook
#    url: https://ci.appveyor.com/api/github/webhook?id=08c7793w1tp839fl
#    on_build_success: false
#    on_build_failure: True