From 6109a40ab6386c4d899ba5bf9fa90a2ebcb217e1 Mon Sep 17 00:00:00 2001 From: fgoudreault Date: Wed, 19 Jul 2017 10:56:54 -0400 Subject: [PATCH] adding deploy in appveyor --- .appveyor.yml | 13 +++++++++++++ .travis.yml | 1 + setup.py | 5 ++--- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index a41f7c1..ff6a919 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -18,3 +18,16 @@ branches: only: - master - develop +before_deploy: + - python build.py bdist_msi +deploy: + release: $(appveyor_build_version) + description: "Release description" + provider: GitHub + auth_token: + secure: x2ous7RX857j64h4DSkiEBCSU8kUQYCL31UBrPLUSgosixVS/XDXGA6TWr0DLPm9 + artifact: auxiclean.zip + draft: true + on: + branch: master + appveyor_repo_tag: true diff --git a/.travis.yml b/.travis.yml index 76386c3..95ec48c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ matrix: os: linux python: 3.6 after_success: + - pip install coveralls - coveralls install: - python setup.py develop diff --git a/setup.py b/setup.py index 6b8ec5f..d5504a3 100644 --- a/setup.py +++ b/setup.py @@ -14,11 +14,10 @@ def win_pip_install(package, install_list): # package required install_packages = ["openpyxl", # to manage excel spreadsheets + "cx_freeze", ] -develop_packages = ["nose", "pep8", "coverage", "coveralls", - "cx_freeze", # to create executable file on windows - ] +develop_packages = ["nose", "pep8", "coverage"] print("Installing auxiclean, the following packages are required:", install_packages)