タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

ciとtravisに関するpinzoloのブックマーク (2)

  • Travis CI で bundle install が毎回走らないようキャッシュする - bekkou68 の日記

    はじめに Travis CI で CI のたびに bundle install が毎回走っていました。その時間がテストの時間の大部分を占めていたので短縮したかったのでした。 やりかた こちらに書いてありました。 .travis.yml に一行追加するだけです(diff 形式)。現在はプライベートリポジトリのみ対応されているようです。 language: ruby + cache: bundler rvm: - 2.1.0 ...これで push なりして CI を動かしてみると bundle install の結果がキャッシュされるようになります。べんり! 7分ほどかかってた CI が 3分ほどになりました。50%の速度改善です! もちろん差分があったら差分の分だけ install されます。仕組みの説明はこれとかこれに書いてありました。キャッシュの実体は S3 にセキュアに保存されたアー

    Travis CI で bundle install が毎回走らないようキャッシュする - bekkou68 の日記
  • Travis CI Documentation

    This documentation site is Open Source. The README in our Git repository explains how to contribute. Travis CI relies on Open Source licensing information. Travis CI Build Configuration and Settings # Builds on Travis CI are configured mostly through the build configuration stored in the file .travis.yml in your repository. This allows your configuration to be version controlled and flexible. For

    Travis CI Documentation
  • 1