Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
G
go-ipfs
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
jihao
go-ipfs
Commits
1791f686
提交
1791f686
authored
7月 09, 2019
作者:
Steven Allen
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ci: test the http clients
上级
93de7888
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
59 行增加
和
9 行删除
+59
-9
config.yml
.circleci/config.yml
+59
-9
没有找到文件。
.circleci/config.yml
浏览文件 @
1791f686
...
...
@@ -120,7 +120,7 @@ jobs:
path
:
/tmp/circleci-artifacts
-
store_artifacts
:
path
:
/tmp/circleci-test-results
build
-interop
:
build
:
docker
:
-
image
:
circleci/golang:1.12
<<
:
*defaults
...
...
@@ -128,12 +128,18 @@ jobs:
-
checkout
-
*make_out_dirs
-
*restore_gomod
-
run
:
make build
-
run
:
cp cmd/ipfs/ipfs /tmp/circleci-workspace
-
run
:
name
:
Building
command
:
make build
-
run
:
name
:
Storing
command
:
|
mkdir -p /tmp/circleci-workspace/bin
cp cmd/ipfs/ipfs /tmp/circleci-workspace/bin
-
persist_to_workspace
:
root
:
/tmp/circleci-workspace
paths
:
-
ipfs
-
bin/
ipfs
-
*store_gomod
interop
:
docker
:
...
...
@@ -148,13 +154,51 @@ jobs:
command
:
npm install
working_directory
:
~/ipfs/go-ipfs/interop
environment
:
IPFS_GO_EXEC
:
/tmp/circleci-workspace/ipfs
IPFS_GO_EXEC
:
/tmp/circleci-workspace/
bin/
ipfs
-
run
:
command
:
npm test
working_directory
:
~/ipfs/go-ipfs/interop
environment
:
IPFS_GO_EXEC
:
/tmp/circleci-workspace/ipfs
IPFS_GO_EXEC
:
/tmp/circleci-workspace/bin/ipfs
go-ipfs-api
:
docker
:
-
image
:
circleci/golang:1.12
<<
:
*defaults
steps
:
-
*make_out_dirs
-
attach_workspace
:
at
:
/tmp/circleci-workspace
-
run
:
git clone https://github.com/ipfs/go-ipfs-api.git
-
run
:
name
:
IPFS Daemon
command
:
/tmp/circleci-workspace/bin/ipfs daemon --init --enable-namesys-pubsub
background
:
true
-
run
:
name
:
Waiting for the daemon
no_output_timeout
:
10s
command
:
|
while ! /tmp/circleci-workspace/bin/ipfs id --api=/ip4/127.0.0.1/tcp/5001 2>/dev/null; do
sleep 1
done
-
run
:
command
:
go test -v ./...
working_directory
:
~/ipfs/go-ipfs/go-ipfs-api
go-ipfs-http-client
:
docker
:
-
image
:
circleci/golang:1.12
<<
:
*defaults
steps
:
-
*make_out_dirs
-
attach_workspace
:
at
:
/tmp/circleci-workspace
-
run
:
git clone https://github.com/ipfs/go-ipfs-http-client.git
-
run
:
command
:
|
export PATH=/tmp/circleci-workspace/bin:$PATH
go test -v ./...
working_directory
:
~/ipfs/go-ipfs/go-ipfs-http-client
-
run
:
command
:
/tmp/circleci-workspace/bin/ipfs shutdown
workflows
:
version
:
2
...
...
@@ -164,7 +208,13 @@ workflows:
-
golint
-
gotest
-
sharness
-
build
-interop
-
build
-
interop
:
requires
:
-
build-interop
-
build
-
go-ipfs-api
:
requires
:
-
build
-
go-ipfs-http-client
:
requires
:
-
build
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论