Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
1d1ad5b0
A
apollo
项目概览
Pinoxchio
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
1d1ad5b0
编写于
9月 19, 2017
作者:
L
Lei Wang
提交者:
Jiangtao Hu
9月 19, 2017
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add more jobs to ci.
上级
a15e0255
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
9 addition
and
9 deletion
+9
-9
.travis.yml
.travis.yml
+1
-1
apollo.sh
apollo.sh
+6
-6
apollo_docker.sh
apollo_docker.sh
+2
-2
未找到文件。
.travis.yml
浏览文件 @
1d1ad5b0
...
...
@@ -17,7 +17,7 @@ before_script:
-
cp scripts/AGREEMENT.txt ${HOME}/.cache/.apollo_agreement.txt
script
:
-
./docker/scripts/dev_start.sh dev-x86_64-20170919_1658-ci
-
./apollo_docker.sh ${JOB}
-
./apollo_docker.sh ${JOB}
--jobs=10
-
rm -rf "${HOME}/.cache/bazel/_bazel_${USER}/install"
notifications
:
email
:
...
...
apollo.sh
浏览文件 @
1d1ad5b0
...
...
@@ -257,7 +257,7 @@ function release() {
function
gen_coverage
()
{
bazel clean
generate_build_targets
echo
"
$BUILD_TARGETS
"
|
grep
-v
"cnn_segmentation_test"
| xargs bazel
test
$DEFINES
-c
dbg
--config
=
coverage
echo
"
$BUILD_TARGETS
"
|
grep
-v
"cnn_segmentation_test"
| xargs bazel
test
$DEFINES
-c
dbg
--config
=
coverage
$@
if
[
$?
-ne
0
]
;
then
fail
'run test failed!'
fi
...
...
@@ -299,9 +299,9 @@ function run_test() {
generate_build_targets
if
[
"
$USE_GPU
"
==
"1"
]
;
then
echo
-e
"
${
RED
}
Need GPU to run the tests.
${
NO_COLOR
}
"
echo
"
$BUILD_TARGETS
"
| xargs bazel
test
$DEFINES
--config
=
unit_test
-c
dbg
--test_verbose_timeout_warnings
echo
"
$BUILD_TARGETS
"
| xargs bazel
test
$DEFINES
--config
=
unit_test
-c
dbg
--test_verbose_timeout_warnings
$@
else
echo
"
$BUILD_TARGETS
"
|
grep
-v
"cnn_segmentation_test"
| xargs bazel
test
$DEFINES
--config
=
unit_test
-c
dbg
--test_verbose_timeout_warnings
echo
"
$BUILD_TARGETS
"
|
grep
-v
"cnn_segmentation_test"
| xargs bazel
test
$DEFINES
--config
=
unit_test
-c
dbg
--test_verbose_timeout_warnings
$@
fi
if
[
$?
-eq
0
]
;
then
success
'Test passed!'
...
...
@@ -538,12 +538,12 @@ function main() {
;;
test
)
DEFINES
=
"
${
DEFINES
}
--cxxopt=-DCPU_ONLY"
run_test
run_test
$@
;;
test_gpu
)
DEFINES
=
"
${
DEFINES
}
--cxxopt=-DUSE_CAFFE_GPU"
USE_GPU
=
"1"
run_test
run_test
$@
;;
release
)
release 1
...
...
@@ -552,7 +552,7 @@ function main() {
release 0
;;
coverage
)
gen_coverage
gen_coverage
$@
;;
clean
)
clean
...
...
apollo_docker.sh
浏览文件 @
1d1ad5b0
...
...
@@ -86,7 +86,7 @@ function push() {
docker push
"
$RELEASE_NAME
"
}
if
[
$#
!=
1
]
;
then
if
[
$#
==
0
]
;
then
print_usage
exit
1
fi
...
...
@@ -104,6 +104,6 @@ case $1 in
gen_docker
;;
*
)
docker
exec
-u
$USER
apollo_dev bash
-c
"./apollo.sh
$
1
"
docker
exec
-u
$USER
apollo_dev bash
-c
"./apollo.sh
$
@
"
;;
esac
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录