AMD64
Shell
Git
.travis.yml
os: windows
language: shell
install:
- |
set -ex
powershell -Command "Install-WindowsFeature Server-Media-Foundation"
export PYTHON_PATH="/c/Python37"
choco install python && \
export "PATH=$PYTHON_PATH/Scripts:$PYTHON_PATH:$PATH"
pip3 install opencv-python-headless
ls /c/Windows/System32/ | grep -iEe '^mf'
set +ex
script:
- pushd /c/Python37/Lib/site-packages/cv2
- ls
- cp -l cv2.cp37-win_amd64.pyd cv2.cp37-win_amd64.dll
- ldd cv2.cp37-win_amd64.dll
- ldd opencv_ffmpeg410_64.dll
Build Config
{
"os": "windows",
"script": [
"pushd /c/Python37/Lib/site-packages/cv2",
"ls",
"cp -l cv2.cp37-win_amd64.pyd cv2.cp37-win_amd64.dll",
"ldd cv2.cp37-win_amd64.dll",
"ldd opencv_ffmpeg410_64.dll"
],
"install": [
"set -ex\npowershell -Command \"Install-WindowsFeature Server-Media-Foundation\"\nexport PYTHON_PATH=\"/c/Python37\"\nchoco install python && \\\nexport \"PATH=$PYTHON_PATH/Scripts:$PYTHON_PATH:$PATH\"\npip3 install opencv-python-headless\nls /c/Windows/System32/ | grep -iEe '^mf'\nset +ex\n"
],
"language": "shell"
}