Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Richard 祝发兴 - -IT
opencv-python
提交
fb69c50d
O
opencv-python
项目概览
Richard 祝发兴 - -IT
/
opencv-python
与 Fork 源项目一致
Fork自
OpenCV / opencv-python
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
opencv-python
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fb69c50d
编写于
5月 22, 2016
作者:
O
Olli-Pekka Heinisuo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[skip appveyor] fix .travis.yml and remove the other one
上级
b7326359
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
1 addition
and
35 deletion
+1
-35
.travis.yml
.travis.yml
+1
-2
travis.yml
travis.yml
+0
-33
未找到文件。
.travis.yml
浏览文件 @
fb69c50d
...
...
@@ -5,7 +5,7 @@ python:
-
"
3.5"
before_install
:
-
git clone -q --branch=master https://github.com/Itseez/opencv.git
"%APPVEYOR_BUILD_FOLDER%\
opencv
-
git clone -q --branch=master https://github.com/Itseez/opencv.git opencv
-
python find_version.py > tmp
-
opencv_version=$(cat tmp)
-
rm tmp
...
...
@@ -31,4 +31,3 @@ before_script:
script
:
-
cd tests
-
python -m unittest test
\ No newline at end of file
travis.yml
已删除
100644 → 0
浏览文件 @
b7326359
language
:
python
python
:
-
"
2.7"
-
"
3.5"
before_install
:
-
git clone -q --branch=master https://github.com/Itseez/opencv.git opencv
-
python find_version.py > tmp
-
opencv_version=$(cat tmp)
-
rm tmp
-
echo $opencv_version
install
:
-
python -m pip install --upgrade pip
-
pip install -r requirements.txt
-
cd ../opencv
-
mkdir build
-
if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then cmake -H"." -B"build" -DBUILD_opencv_python3=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DPYTHON2_EXECUTABLE=$VIRTUAL_ENV/python27 -DPYTHON2_LIBRARY=$VIRTUAL_ENV/lib/python27.lib -DPYTHON2_INCLUDE_DIR=$VIRTUAL_ENV/include -Wno-dev; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then cmake -H"." -B"build" -DBUILD_opencv_python2=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DPYTHON3_EXECUTABLE=$VIRTUAL_ENV/python35 -DPYTHON3_LIBRARY=$VIRTUAL_ENV/lib/python35.lib -DPYTHON3_INCLUDE_DIR=$VIRTUAL_ENV/include -Wno-dev; fi
-
cd build
-
cmake --build . --config Release
-
cd ../..
-
if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then cp opencv\build\lib\RELEASE\*.pyd opencv-python/cv2; fi
-
if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then cp opencv\build\lib\python3\Release\*.pyd opencv-python/cv2; fi
-
python setup.py bdist_wheel --opencv-version "$opencv_version-$TRAVIS_BUILD_NUMBER"
before_script
:
-
pip install --no-index --find-links=opencv-python\dist\ opencv-python
script
:
-
cd tests
-
python -m unittest test
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录