forked from DataDog/integrations-extras
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
41 lines (34 loc) · 1.17 KB
/
appveyor.yml
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
version: '{branch}.{build}'
clone_depth: 3
build: off
test: off
skip_branch_with_pr: true
cache:
- '%LOCALAPPDATA%\pip\Cache'
services:
- iis
# We can't start more than one MSSQL instance to avoid conflicts on TCP port 1433. The only workaround to test a check
# against multiple versions is letting the test code to start/stop the corresponding services so that they run one at
# a time. See https://www.appveyor.com/docs/services-databases/ for details.
- mssql2008r2sp2
branches:
only:
- master
environment:
PYTHON2: C:\Python27-x64
PYTHON3: C:\Python36-x64
init:
# Add Python 3 to PATH
- set PATH=%PYTHON3%;%PYTHON3%\Scripts;%PATH%
- python -c "import sys; print(sys.version)"
# Add Python 2 to PATH before Python 3
- set PATH=%PYTHON2%;%PYTHON2%\Scripts;%PATH%
- python -c "import sys; print(sys.version)"
- if defined APPVEYOR_PULL_REQUEST_NUMBER ( set "CHANGED_ONLY_FLAG= --changed" ) else ( set "CHANGED_ONLY_FLAG= " )
install:
- python -m pip install --upgrade --disable-pip-version-check pip virtualenv codecov
- pip uninstall -y docker-py
- pip install datadog_checks_dev[cli]
- ddev config set core .
test_script:
- ddev -e test