小编tth*_*hsn的帖子

请求 32 位 travis 构建机器

似乎 travis 在集成过程开始时默认提供 64 位构建机器。

我可以在 .travis.yml 中使用任何选项来请求 32 位 Ubuntu 构建机器吗?

我真的需要 32 位操作系统,因为 64 位 Ubuntu 拒绝安装 32 位支持库(ia32-libs)。

The following packages have unmet dependencies:

ia32-libs : Depends: ia32-libs-multiarch

E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)

travis-ci

6
推荐指数
1
解决办法
894
查看次数

在命令行中设置git而不是

由于网络连接不良。我为开源软件构建了一些git仓库镜像。

$ cat ~/.gitconfig

[url "git://127.0.0.1/chromiumos"]
    insteadOf = "https://chromium.googlesource.com"
[url "git://127.0.0.1/chromiumos"]
    insteadOf = "https://boringssl.googlesource.com"
[url "git://127.0.0.1/chromiumos"]
    insteadOf = "https://pdfium.googlesource.com"
[url "git://127.0.0.1/chromiumos"]
    insteadOf = "https://weave.googlesource.com"
Run Code Online (Sandbox Code Playgroud)

我想通过键入命令行进行这种配置,因此请先删除它们:

git config --global --unset url.git://127.0.0.1/chromiumos.insteadof
Run Code Online (Sandbox Code Playgroud)

然后再次添加它们:

git config --global url.git://127.0.0.1/chromiumos.insteadof https://boringssl.googlesource.com
git config --global url.git://127.0.0.1/chromiumos.insteadof https://chromium.googlesource.com
git config --global url.git://127.0.0.1/chromiumos.insteadof https://pdfium.googlesource.com
git config --global url.git://127.0.0.1/chromiumos.insteadof https://weave.googlesource.com
Run Code Online (Sandbox Code Playgroud)

但是结果不是我所期望的,只有一个配置生效:

$ git config -global -l

url.git://127.0.0.1/chromiumos.insteadof=https://weave.googlesource.com
Run Code Online (Sandbox Code Playgroud)

git

3
推荐指数
1
解决办法
906
查看次数

标签 统计

git ×1

travis-ci ×1