From c17fd0011d63c8fc9346b189f26f53f789660dd8 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sun, 25 Aug 2019 06:05:43 +0200 Subject: [PATCH] add appveyor.yml --- appveyor.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..7a6b495 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,31 @@ +environment: + # For Python versions available on Appveyor, see + # https://www.appveyor.com/docs/windows-images-software/#python + matrix: +# - PYTHON: "C:\\Python27" +# - PYTHON: "C:\\Python33" +# - PYTHON: "C:\\Python34" +# - PYTHON: "C:\\Python35" +# - PYTHON: "C:\\Python36" +# - PYTHON: "C:\\Python37" +# - PYTHON: "C:\\Python27-x64" +# - PYTHON: "C:\\Python33-x64" +# - PYTHON: "C:\\Python34-x64" +# - PYTHON: "C:\\Python35-x64" +# - PYTHON: "C:\\Python36-x64" + - PYTHON: "C:\\Python37-x64" + +install: + - "%PYTHON%\\python.exe -m pip install wheel pytest pdfrw pillow pyinstaller" + +build: off + +test_script: + - "%PYTHON%\\python.exe setup.py test" + +after_test: + - "%PYTHON%\\python.exe setup.py bdist_wheel" + - "%PYTHON%\\python.exe -m PyInstaller --clean --onefile --noconsole src/img2pdf.py" + +artifacts: + - path: dist\*