File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -49,3 +49,17 @@ script:
4949 - python -m pytest tests/
5050 # TODO: Install and test the built Python packages.
5151 # TODO: Install ffmpeg/mkvtoolnix to run split-video tests.
52+
53+ # Install and test source distribution.
54+ - python -m pip install dist/scenedetect-`python -c "import scenedetect; print(scenedetect.__version__[1:])"`.tar.gz
55+ - scenedetect version
56+ - scenedetect -i tests/resources/testvideo.mp4 -b opencv detect-content time -e 2s
57+ - scenedetect -i tests/resources/testvideo.mp4 -b pyav detect-content time -e 2s
58+ - python -m pip uninstall scenedetect
59+
60+ # Install and test binary wheel.
61+ - python -m pip install dist/scenedetect-`python -c "import scenedetect; print(scenedetect.__version__[1:])"`-py3-none-any.whl
62+ - scenedetect version
63+ - scenedetect -i tests/resources/testvideo.mp4 -b opencv detect-content time -e 2s
64+ - scenedetect -i tests/resources/testvideo.mp4 -b pyav detect-content time -e 2s
65+ - python -m pip uninstall scenedetect
You can’t perform that action at this time.
0 commit comments