Trigger nightly build when pushing

This commit is contained in:
Julien Duponchelle 2017-04-19 10:09:52 +02:00
parent 2962649dc8
commit d90a8fa482
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -7,6 +7,8 @@ platform: x64
environment:
PYTHON: "C:\\Python36-x64"
DISTUTILS_USE_SDK: "1"
API_TOKEN:
secure: VEKn4bYH3QO0ixtQW5ni4Enmn8cS1NlZV246ludBDgQ=
install:
- cinst nmap
@ -17,3 +19,6 @@ 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%"}