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

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml36
1 files changed, 32 insertions, 4 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 67ad67c16..725ecfbff 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,12 +1,40 @@
-# AppVeyor CI pipeline, executed on Windows Server 2016/2012 R2
+environment:
+ matrix:
+ - FYI: Python 3.4 on Windows Server 2012 R2
+ TOXENV: py34
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
+ - FYI: Python 3.4 on Windows Server 2016
+ TOXENV: py34
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+ - FYI: Python 3.5 on Windows Server 2016
+ TOXENV: py35
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+ - FYI: Python 3.7 on Windows Server 2016 + code coverage
+ TOXENV: py37-cover
+ APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+
branches:
only:
- master
- - /^\d+\.\d+\.x$/ # version branches like X.X.X
+ - /^\d+\.\d+\.x$/ # Version branches like X.X.X
- /^test-.*$/
+install:
+ # Use Python 3.7 by default
+ - "SET PATH=C:\\Python37;C:\\Python37\\Scripts;%PATH%"
+ # Check env
+ - "echo %APPVEYOR_BUILD_WORKER_IMAGE%"
+ - "python --version"
+ # Upgrade pip to avoid warnings
+ - "python -m pip install --upgrade pip"
+ # Ready to install tox and coverage
+ - "pip install tox codecov"
+
build: off
test_script:
- - ps: Write-Host "Hello, world!"
- \ No newline at end of file
+ # Test env is set by TOXENV env variable
+ - tox
+
+on_success:
+ - if exist .coverage codecov