{"action":"created","issue":{"url":"https://api.github.com/repos/artsy/eigen/issues/195","labels_url":"https://api.github.com/repos/artsy/eigen/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/artsy/eigen/issues/195/comments","events_url":"https://api.github.com/repos/artsy/eigen/issues/195/events","html_url":"https://github.com/artsy/eigen/pull/195","id":57998988,"number":195,"title":"Added initial fastlane integration","user":{"login":"KrauseFx","id":869950,"avatar_url":"https://avatars.githubusercontent.com/u/869950?v=3","gravatar_id":"","url":"https://api.github.com/users/KrauseFx","html_url":"https://github.com/KrauseFx","followers_url":"https://api.github.com/users/KrauseFx/followers","following_url":"https://api.github.com/users/KrauseFx/following{/other_user}","gists_url":"https://api.github.com/users/KrauseFx/gists{/gist_id}","starred_url":"https://api.github.com/users/KrauseFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrauseFx/subscriptions","organizations_url":"https://api.github.com/users/KrauseFx/orgs","repos_url":"https://api.github.com/users/KrauseFx/repos","events_url":"https://api.github.com/users/KrauseFx/events{/privacy}","received_events_url":"https://api.github.com/users/KrauseFx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-17T23:23:00Z","updated_at":"2015-02-18T00:43:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/artsy/eigen/pulls/195","html_url":"https://github.com/artsy/eigen/pull/195","diff_url":"https://github.com/artsy/eigen/pull/195.diff","patch_url":"https://github.com/artsy/eigen/pull/195.patch"},"body":"### This commits adds a very basic [fastlane](http://fastlane.tools) integration:\r\n\r\n- Added [snapshot](https://github.com/KrauseFx/snapshot) integration to create 4 screenshots on different devices (see screenshot on bottom)\r\n- Added [fastlane](https://github.com/KrauseFx/fastlane) dependency to `Gemfile`\r\n- Added [fastlane](https://github.com/KrauseFx/fastlane) screenshots folder to `.gitignore`\r\n\r\n### There are 2 lanes available:\r\n\r\n- `test`: Only run unit tests and integration tests (which will also generate new screenshots)\r\n- `beta`: Run tests, create new screenshots and build&upload beta app to Hockey\r\n\r\nThere is also one empty lane `deploy`, which can later be used for App Store distribution.\r\n\r\n### How can I use it?\r\n\r\nJust run\r\n\r\n```\r\nfastlane test\r\n```\r\n\r\nor\r\n\r\n```\r\nfastlane beta\r\n```\r\n\r\nto trigger the `beta` lane. Add this as a build step to Travis.\r\n\r\nYou can also run each tool individually, for example, to generate new screenshots, just run `snapshot` in the project directory and `snapshot` will generate new screenshots for you.\r\n\r\n### Next things to do:\r\n\r\n- If you decide to also use [deliver](https://github.com/KrauseFx/deliver) or [sigh](https://github.com/KrauseFx/sigh), update the `fastlane/Appfile` and set your `apple_id`. This is a ruby file, so you can easily change it to `apple_id ENV['APPLE_ID']`\r\n- To enable Slack notifications, make sure to have a POST url stored in the environment variable `SLACK_URL`. Once this is done, enable the `slack` integration in the `fastlane/Fastfile`\r\n- If you want to hide the `fastlane` folder, you can prepend a `.` => `.fastlane`\r\n- Implement a better `UI Automation` script for `snapshot`, to support different languages and show more interesting screens. This might require some work on the `accessibilityIdentifier`. More information on the [snapshot project page](https://github.com/KrauseFx/snapshot)\r\n- Set up [deliver](https://github.com/KrauseFx/deliver) to upload screenshots, app metadata and app updates to iTunes Connect\r\n- You can define as many lanes as you want, for all kinds of actions\r\n- Once you have a Jenkins computer set up, please follow the [Jenkins fastlane Guide](https://github.com/krausefx/fastlane#jenkins-integration) to make use of the nice integration, which shows lane results and the generated screenshots right in Jenkins.\r\n\r\n##### Let me know if there is anything I can help you with :+1: \r\n\r\nGenerated screenshots summary\r\n![screenshot 2015-02-17 22 39 48](https://cloud.githubusercontent.com/assets/869950/6239293/4abc172c-b6fa-11e4-8615-3c31f4d686e6.png)"},"comment":{"url":"https://api.github.com/repos/artsy/eigen/issues/comments/74788164","html_url":"https://github.com/artsy/eigen/pull/195#issuecomment-74788164","issue_url":"https://api.github.com/repos/artsy/eigen/issues/195","id":74788164,"user":{"login":"orta","id":49038,"avatar_url":"https://avatars.githubusercontent.com/u/49038?v=3","gravatar_id":"","url":"https://api.github.com/users/orta","html_url":"https://github.com/orta","followers_url":"https://api.github.com/users/orta/followers","following_url":"https://api.github.com/users/orta/following{/other_user}","gists_url":"https://api.github.com/users/orta/gists{/gist_id}","starred_url":"https://api.github.com/users/orta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orta/subscriptions","organizations_url":"https://api.github.com/users/orta/orgs","repos_url":"https://api.github.com/users/orta/repos","events_url":"https://api.github.com/users/orta/events{/privacy}","received_events_url":"https://api.github.com/users/orta/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T00:43:31Z","updated_at":"2015-02-18T00:43:31Z","body":"THIS ISSSSS AMAAZINGGGG\r\n\r\n![Russian Armed Forces](http://i.imgur.com/IaRUjTS.gif)"}}