【问题标题】:git, devscripts, debhelper on Travis CITravis CI 上的 git、devscripts、debhelper
【发布时间】:2013-02-17 04:53:34
【问题描述】:

我正在编写一个我想在 Travis CI 上测试的工具。

我可以假设包

  • 开发脚本
  • debhelper
  • 混帐核心

是否存在于我的测试将运行的 CI 环境中?

说实话,我实际上只需要 dchgit

just looked in thier cookbooks 那里似乎没有我需要的东西。

有什么方法可以在 CI 环境中获得我需要的东西吗?

I install the packages automatically through travis.yml 可以吗?

谢谢

【问题讨论】:

    标签: git continuous-integration fixed travis-ci


    【解决方案1】:

    我在 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"
    

    【讨论】:

      猜你喜欢
      • 2021-02-16
      • 1970-01-01
      • 2023-04-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-05-02
      • 2018-07-15
      • 1970-01-01
      相关资源
      最近更新 更多