From d90a8fa4827dfd1d1fa192b567a455c753aeb27b Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Wed, 19 Apr 2017 10:09:52 +0200 Subject: [PATCH] Trigger nightly build when pushing --- appveyor.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 3867c85f..f2e2f941 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,6 +7,8 @@ platform: x64 environment: PYTHON: "C:\\Python36-x64" DISTUTILS_USE_SDK: "1" + API_TOKEN: + secure: VEKn4bYH3QO0ixtQW5ni4Enmn8cS1NlZV246ludBDgQ= install: - cinst nmap @@ -16,4 +18,7 @@ install: build: off test_script: - - "%PYTHON%\\python.exe -m pytest -v" + - "%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%"}