gns3-server/appveyor.yml

25 lines
691 B
YAML
Raw Normal View History

2017-04-18 09:54:10 +00:00
version: '{build}-{branch}'
image: Visual Studio 2015
platform: x64
environment:
2017-04-18 10:20:04 +00:00
PYTHON: "C:\\Python36-x64"
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:
2017-04-18 12:08:37 +00:00
- cinst nmap
2017-04-18 09:54:10 +00:00
- "%PYTHON%\\python.exe -m pip install -r dev-requirements.txt"
- "%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"
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%"}