LoginSignup
0
0

More than 5 years have passed since last update.

Travis CI上のテストでスクリーンショットを撮る

Posted at

必要なもの

Rails projectの場合

大量の画像を扱う場合

  • お金(Gyazo Proを使う)

画像をアップロードするコマンド

.travis.yml
after_script:
  - for i in /home/travis/build/<your_org>/<your_project>/tmp/capybara/*png; do curl -i https://upload.gyazo.com/api/upload -F access_token=<access_token> -F "imagedata=@$i" ; done

※ pathとaccess_tokenの部分を置き換える

参考

Travis CI 上の Poltergeist で撮ったスクリーンショットを確認する方法

0
0
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
0
0