LoginSignup
9
6

More than 5 years have passed since last update.

Bitriseで、特定のスクリプトを実行したくないとき

Last updated at Posted at 2016-02-25

これで。

if [ -z ${CI+x} ];then
    swiftlint
fi

こちらに、使用可能な環境変数の一覧がありました。
http://devcenter.bitrise.io/faq/available-environment-variables/

これで、Run Script Build PhaseでSwiftLintを実行するようにしていても、CIには影響しません。
今は直っているかもしれませんが、Run Script Build PhaseのSwiftLintがCIでうまく動かなかったため、こうしています。
SwiftLintは別途ワークフローを作って swiftlint lint --strict を実行しています。

Happy Bitrise !

9
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
6