- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我正在编写一个我想在 Travis CI 上测试的工具。
我可以假设包
存在于我的测试将运行的 CI 环境中?
老实说,我实际上只需要 dch 和 git。
我just looked in thier cookbooks他们似乎没有我需要的东西。
有什么办法可以在 CI 环境上得到我需要的东西吗?
可以I install the packages automatically through travis.yml不知何故?
谢谢
最佳答案
我在 yaml 中使用 before_install 解决了问题。这让我可以指定任何我想运行的命令,所以我基本上是这样做的:
language: perl
perl:
- "5.16"
- "5.14"
- "5.12"
- "5.10"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libjson-xs-perl devscripts git-core debhelper
- git config --global user.email "test@test.com"
- git config --global user.name "Mr Test"
关于Travis CI 上的 git、devscripts、debhelper,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14918103/
我正在创建一个小的 deb 包来安装一些文件。其中一些将位于/usr/lib/mypackage/中,我想创建一个从/usr/lib/mypackage/mybin 到/usr/bin/mybin 的
我正在更新一个通过私有(private) deb 存储库部署的 python 包,以使用命名空间名称。 (我已经更改了细节以使其通用) 旧名称是: 旧的 python 包名称:useful_thing
我正在尝试使用 systemd 脚本构建一个 debian 软件包,但我不太明白最好的方法。 我的第一个问题是,我应该使用 --with=systemd 选项(并覆盖 dh_systemd_enabl
我正在尝试使用 systemd 脚本构建一个 debian 软件包,但我不太明白最好的方法。 我的第一个问题是,我应该使用 --with=systemd 选项(并覆盖 dh_systemd_enabl
我正在编写一个我想在 Travis CI 上测试的工具。 我可以假设包 开发脚本 debhelper git 核心 存在于我的测试将运行的 CI 环境中? 老实说,我实际上只需要 dch 和 git。
好吧,我有一个 debian/rules 文件,看起来像这样: #!/usr/bin/make -f PACKAGE = packagename SRC_VERSION := $(shell grep
例如,在我的 debian 包的 debian 文件夹中,我想添加一个删除目录的后期步骤。 我认为文件 *.postrm.debhelper 是正确的。但是这个文件会被几个帮助脚本(dh_instal
我有一个以开头的Makefile prefix = /opt/$(PACKAGE) 并期望make prefix=/usr以防有人想要非/opt安装。没有 ./configure (而且确实
我正在努力使用 dh 为 python 3(而不是 python 2)创建包。我使用 setup.py,当使用 python3 调用时,它会为 python 3 构建。我有一个单独的 debian 目
我想尝试 python Purple,但我没有 debian。有没有办法让它在 Windows 或不同的 Linux 上运行? 最佳答案 我想从源代码编译(如果可用)或寻找适合您的发行版的 dbhel
我是一名优秀的程序员,十分优秀!