2017-04-18 09:54:10 +00:00
|
|
|
version: '{build}-{branch}'
|
|
|
|
|
2022-11-08 15:09:23 +00:00
|
|
|
image: Visual Studio 2022
|
2017-04-18 09:54:10 +00:00
|
|
|
|
|
|
|
platform: x64
|
|
|
|
|
|
|
|
environment:
|
2022-08-27 21:52:59 +00:00
|
|
|
PYTHON: "C:\\Python37-x64"
|
2017-04-18 10:20:04 +00:00
|
|
|
DISTUTILS_USE_SDK: "1"
|
2017-04-19 08:09:52 +00:00
|
|
|
API_TOKEN:
|
|
|
|
secure: VEKn4bYH3QO0ixtQW5ni4Enmn8cS1NlZV246ludBDgQ=
|
2017-04-18 09:54:10 +00:00
|
|
|
|
|
|
|
install:
|
2022-08-27 22:01:26 +00:00
|
|
|
- cinst nmap
|
2022-11-08 15:09:23 +00:00
|
|
|
- "%PYTHON%\\python.exe -m pip install -U pip setuptools" # upgrade pip & setuptools first
|
2017-04-18 09:54:10 +00:00
|
|
|
- "%PYTHON%\\python.exe -m pip install -r dev-requirements.txt"
|
2017-04-18 10:27:54 +00:00
|
|
|
- "%PYTHON%\\python.exe -m pip install -r win-requirements.txt"
|
2017-04-18 09:54:10 +00:00
|
|
|
|
|
|
|
build: off
|
|
|
|
|
|
|
|
test_script:
|
2017-04-19 08:09:52 +00:00
|
|
|
- "%PYTHON%\\python.exe -m pytest -v"
|