Welcome to mirror list, hosted at ThFree Co, Russian Federation.

appveyor.yml - github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 53f29a5e6979dd561b955caccb74e5c8252b0e43 (plain)
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
43
44
45
46
47
image: Visual Studio 2015

environment:
  matrix:
    - TOXENV: py35
    - TOXENV: py37-cover
    - TOXENV: integration-certbot

branches:
  only:
    # apache-parser-v2 is a temporary branch for doing work related to
    # rewriting the parser in the Apache plugin.
    - apache-parser-v2
    - master
    - /^\d+\.\d+\.x$/ # Version branches like X.X.X
    - /^test-.*$/

init:
  # Since master can receive only commits from PR that have already been tested, following
  # condition avoid to launch all jobs except the coverage one for commits pushed to master.
  - ps: |
      if (-Not $Env:APPVEYOR_PULL_REQUEST_NUMBER -And $Env:APPVEYOR_REPO_BRANCH -Eq 'master' `
          -And -Not ($Env:TOXENV -Like '*-cover'))
      { $Env:APPVEYOR_SKIP_FINALIZE_ON_EXIT = 'true'; Exit-AppVeyorBuild }

install:
  # Use Python 3.7 by default
  - SET PATH=C:\\Python37;C:\\Python37\\Scripts;%PATH%
  # Using 4 processes is proven to be the most efficient integration tests config for AppVeyor
  - IF %TOXENV%==integration-certbot SET PYTEST_ADDOPTS=--numprocesses=4
  # Check env
  - python --version
  # Upgrade pip to avoid warnings
  - python -m pip install --upgrade pip
  # Ready to install tox and coverage
  # tools/pip_install.py is used to pin packages to a known working version.
  - python tools\\pip_install.py tox codecov

build: off

test_script:
  - set TOX_TESTENV_PASSENV=APPVEYOR
  # Test env is set by TOXENV env variable
  - tox

on_success:
  - if exist .coverage codecov -F windows