2013/06/17

Travis CIでbuild失敗時にエラーメッセージを確認する方法

ビルドに失敗した時に~/.cpanm/build.logを見たいことがあるので、以下の二つを最初から設定しておくと便利

  • install
  • after_failure

.travis.yml全体だとこんな感じ

    language: perl
    perl:
      - 5.10
      - 5.12
      - 5.14
      - 5.16
    install:
      - "cpanm --installdeps --notest . || cat ~/.cpanm/build.log"
    after_failure: 
      - "cat ~/.cpanm/build.log"

before_script, script等の各コマンドを上書きして全部に|| cat /path/to/logみたいなのを付けてる人もいた

1 件のコメント:

  1. However, with the proper instruments and inserts, it can be be} used to make just about any kind of thread an engineer can design for medical and other proprietary makes use of. With the device spinning at a set RPM panties and the fabric additionally rotating, the threads come out with no burrs. So, with little or no deflection in its machining course of, the CNC Swiss-style screw machine provides larger accuracy, precision, and consistency. Learn more about the advantages of|some great advantages of|the advantages of} eliminating deflection in our blog Deflection and Precision in CNC Swiss Machining. A 3-axis mill makes use of the X, Y, and Z axes for a wide variety|all kinds} of work.

    返信削除