about summary refs log tree commit diff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorPaweł Jastrzębski <pawelj@iosphe.re>2017-08-20 11:23:22 +0200
committerPaweł Jastrzębski <pawelj@iosphe.re>2017-08-20 12:21:21 +0200
commitd77f04a84e53ec4f54ac464a3694746c66187860 (patch)
tree886df9cc8b9dc55ce1e86a4e692bb061325a99f8 /appveyor.yml
parentTravis update (diff)
downloadkcc-d77f04a84e53ec4f54ac464a3694746c66187860.tar.gz
kcc-d77f04a84e53ec4f54ac464a3694746c66187860.tar.bz2
kcc-d77f04a84e53ec4f54ac464a3694746c66187860.zip
Implemented new build enviroments
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..2a47721
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,27 @@
+environment:
+  PYTHON: "C:\\Python36-x64"
+
+install:
+  - set PATH="%PYTHON%\\Scripts";"C:\\Program Files (x86)\\Inno Setup 5";%PATH%
+  - "%PYTHON%\\python.exe -m pip install --upgrade pip setuptools wheel"
+  - "%PYTHON%\\python.exe -m pip install -r requirements.txt"
+  - "%PYTHON%\\python.exe -m pip install certifi https://github.com/pyinstaller/pyinstaller/archive/develop.zip"
+  - nuget install secure-file -ExcludeVersion
+  - nuget install verpatch -ExcludeVersion
+  - secure-file\tools\secure-file -decrypt other\windows\Cert.pfx.enc -secret %ENCRYPTION%
+  - secure-file\tools\secure-file -decrypt other\windows\sentry.py.enc -out kindlecomicconverter\sentry.py -secret %ENCRYPTION%
+
+build_script:
+    - "%PYTHON%\\python.exe setup.py build_binary"
+
+after_build:
+  - ps: Get-ChildItem .\dist\KindleComicConverter_win_* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
+
+deploy:
+  provider: S3
+  access_key_id:
+    secure: pWfyU8wtAHt354mBILwM41TemOjb+My9n3CRMnrpLzI=
+  secret_access_key:
+    secure: G0Xpxe355LMqV3s8v+TsdJYdmhFoKKA+mxK37Tlu8yNwKXKJgcnY7pcFKSdX5xS5
+  bucket: kcc-deploy
+  region: eu-central-1