mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-13 20:08:55 +00:00
25 lines
691 B
YAML
25 lines
691 B
YAML
version: '{build}-{branch}'
|
|
|
|
image: Visual Studio 2015
|
|
|
|
platform: x64
|
|
|
|
environment:
|
|
PYTHON: "C:\\Python36-x64"
|
|
DISTUTILS_USE_SDK: "1"
|
|
API_TOKEN:
|
|
secure: VEKn4bYH3QO0ixtQW5ni4Enmn8cS1NlZV246ludBDgQ=
|
|
|
|
install:
|
|
- cinst nmap
|
|
- "%PYTHON%\\python.exe -m pip install -r dev-requirements.txt"
|
|
- "%PYTHON%\\python.exe -m pip install -r win-requirements.txt"
|
|
|
|
build: off
|
|
|
|
test_script:
|
|
- "%PYTHON%\\python.exe -m pytest -v"
|
|
|
|
deploy_script:
|
|
- curl "https://ci.appveyor.com/api/builds" -XPOST -H 'Authorization: Bearer %API_TOKEN%' -H 'Content-Type: application/json' -d '{"accountName": "gns3-build", "projectSlug": "gns3-build", "branch": "%APPVEYOR_REPO_BRANCH%"}
|