cv2-dll-load Use dependencies head as suggested at https://github.com/luc…

Push event #146.1 errored

  • Ran for
AMD64
Shell
Git

Windows builds are in early access stage. Please head to the Travis CI Community forum to get help or post ideas.

.travis.yml
os: windows
language: shell


install:
    - |
        set -ex
        export DEPENDS_PATH="${HOME}/dep"
        export PYTHON_PATH="/c/Python37"
        choco install python && \
        export "PATH=$PYTHON_PATH/Scripts:$PYTHON_PATH:$PATH"
        pip3 install opencv_python
        curl -L https://ci.appveyor.com/api/buildjobs/tqfq86cqtgyykjbd/artifacts/output%2FDependencies_x64_Release.zip -o Dependencies_x64_Release.zip && \
        7z x Dependencies_x64_Release.zip -o"$DEPENDS_PATH" && \
        rm -v Dependencies_x64_Release.zip
        export "PATH=$DEPENDS_PATH:$PATH"
        set +ex

script:
    - pushd /c/Python37/Lib/site-packages/cv2
    - ls
    - dependencies cv2.cp37-win_amd64.pyd -modules -chain
    - dependencies opencv_ffmpeg410_64.dll -modules -chain
Build Config
{
  "os": "windows",
  "script": [
    "pushd /c/Python37/Lib/site-packages/cv2",
    "ls",
    "dependencies cv2.cp37-win_amd64.pyd -modules -chain",
    "dependencies opencv_ffmpeg410_64.dll -modules -chain"
  ],
  "install": [
    "set -ex\nexport DEPENDS_PATH=\"${HOME}/dep\"\nexport PYTHON_PATH=\"/c/Python37\"\nchoco install python && \\\nexport \"PATH=$PYTHON_PATH/Scripts:$PYTHON_PATH:$PATH\"\npip3 install opencv_python\ncurl -L https://ci.appveyor.com/api/buildjobs/tqfq86cqtgyykjbd/artifacts/output%2FDependencies_x64_Release.zip -o Dependencies_x64_Release.zip && \\\n7z x Dependencies_x64_Release.zip -o\"$DEPENDS_PATH\" && \\\nrm -v Dependencies_x64_Release.zip\nexport \"PATH=$DEPENDS_PATH:$PATH\"\nset +ex\n"
  ],
  "language": "shell"
}