-
Notifications
You must be signed in to change notification settings - Fork 27
/
.appveyor.yml
46 lines (39 loc) · 1.12 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: '{build}'
image: "Visual Studio 2019"
clone_depth: 5
environment:
matrix:
- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python39-x64"
PYTHON_VERSION: "3.9"
PYTHON_ARCH: "64"
cache:
- build -> appveyor.yml
install:
- choco install ffmpeg
- "%PYTHON%\\python.exe -m pip install -U pip wheel setuptools"
build_script:
- "%PYTHON%\\python.exe -m pip install ."
before_test:
- ffmpeg -version
- curl -SsL "http://techslides.com/demos/sample-videos/small.mp4" > test.mp4
test_script:
- "%PYTHON%\\python.exe -m ffpb -i static/test.mp3 -acodec copy test.mka"
- "%PYTHON%\\python.exe -m ffpb -i test.mp4 -vcodec copy test.mkv"
before_deploy:
- "%PYTHON%\\python.exe -m pip install -U twine"
- "%PYTHON%\\python.exe setup.py sdist bdist_wheel"
- "%PYTHON%\\python.exe -m twine check dist\\*"
deploy_script:
- ps: .\ci\appveyor\deploy.ps1