提交 52639bf1 编写于 作者: S skvark

change clone order

上级 59c95490
version: '{build}'
init:
- cmd: git clone -q --branch=master https://github.com/Itseez/opencv.git "%APPVEYOR_BUILD_FOLDER%\opencv
clone_script:
- cmd:
install:
- cmd: >-
git clone -q --branch=master https://github.com/Itseez/opencv.git "%APPVEYOR_BUILD_FOLDER%\opencv
C:\Python27\Scripts\pip.exe install -r requirements.txt
......@@ -15,51 +15,35 @@ install:
C:\Python35-64\Scripts\pip.exe install -r requirements.txt
build_script:
- cmd: >-
if not exist "%APPVEYOR_BUILD_FOLDER%\build" mkdir "%APPVEYOR_BUILD_FOLDER%\build"
if not exist "%APPVEYOR_BUILD_FOLDER%\build" mkdir "%APPVEYOR_BUILD_FOLDER%\build"
if not exist "%APPVEYOR_BUILD_FOLDER%\build64" mkdir "%APPVEYOR_BUILD_FOLDER%\build64"
cmake -G "Visual Studio 14" -H"%APPVEYOR_BUILD_FOLDER%\opencv" -B"%APPVEYOR_BUILD_FOLDER%\opencv\build" -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -Wno-dev
cmake --build build --config Release
cmake -G "Visual Studio 14 Win64" -H"%APPVEYOR_BUILD_FOLDER%\opencv" -B"%APPVEYOR_BUILD_FOLDER%\opencv\build64" -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -Wno-dev
cmake --build build64 --config Release
xcopy "%APPVEYOR_BUILD_FOLDER%\build\lib\RELEASE\*.pyd" cv2
C:\Python27\python.exe setup.py bdist_wheel --opencv-version 0.0.0
del cv2\*.pyd
xcopy "%APPVEYOR_BUILD_FOLDER%\build64\lib\RELEASE\*.pyd" cv2
C:\Python27-64\python.exe setup.py bdist_wheel --opencv-version 0.0.0
del cv2\*.pyd
xcopy "%APPVEYOR_BUILD_FOLDER%\build\lib\python3\Release\*.pyd" cv2
C:\Python35\python.exe python setup.py bdist_wheel --opencv-version 0.0.0
del cv2\*.pyd
xcopy "%APPVEYOR_BUILD_FOLDER%\build64\lib\python3\Release\*.pyd" cv2
C:\Python35-64\python.exe python setup.py bdist_wheel --opencv-version 0.0.0
del cv2\*.pyd
artifacts:
- path: dist\*.whl
name: wheels
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册