1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-23 19:55:38 +01:00
svtplay-dl/appveyor.yml

45 lines
1.2 KiB
YAML
Raw Normal View History

2018-01-27 19:11:30 +01:00
environment:
PYTHON: "C:\\Python35"
PYTHON_VERSION: 3.5
PYTHON_ARCH: "32"
TWINE_USERNAME:
secure: yig0ualP0M39xIahEXhxZA==
TWINE_PASSWORD:
secure: 79wxWyPcqzj6131wKAuWBg==
DOCKER_USERNAME:
secure: yig0ualP0M39xIahEXhxZA==
DOCKER_PASSWORD:
secure: uiu9FbvYYz89WrBtF6BN0w==
AWS_ACCESS_KEY_ID:
secure: ED96t0LSsl1VnMu5CEQddJYdsIwIdsomF6gmY7r49w8=
AWS_SECRET_ACCESS_KEY:
secure: r/GpKgKWeTtq2k2J+Wy4qwOvLa8auzCgSYvEb88NqzenKZh04wUiWyxwXk6xc7UV
2018-01-27 19:11:30 +01:00
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "python -m pip install -U pip setuptools"
- "pip install -r requirements-dev.txt -r requirements.txt"
- "pip install cx_freeze awscli backports-datetime-fromisoformat"
- "git describe --tags --dirty --always"
2018-01-27 19:11:30 +01:00
test_script:
- "pip install -e ."
after_test:
- "mkdir svtplay-dl"
- "python setversion.py"
2018-07-09 23:26:31 +02:00
- "python %PYTHON%\\Scripts\\cxfreeze --include-modules=queue,idna.idnadata --target-dir=svtplay-dl bin/svtplay-dl"
2018-05-08 23:34:54 +02:00
- "svtplay-dl\\svtplay-dl.exe --version"
- "7z.exe a -tzip svtplay-dl.zip svtplay-dl"
2019-01-06 11:22:34 +01:00
- IF "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" python scripts/cibuild.py
2018-05-08 23:34:54 +02:00
artifacts:
- path: svtplay-dl.zip
name: svtplay-dl
2018-01-27 19:11:30 +01:00
2019-01-06 11:11:14 +01:00
build: off