{"action":"created","issue":{"url":"https://api.github.com/repos/Katello/katello.org/issues/120","labels_url":"https://api.github.com/repos/Katello/katello.org/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/Katello/katello.org/issues/120/comments","events_url":"https://api.github.com/repos/Katello/katello.org/issues/120/events","html_url":"https://github.com/Katello/katello.org/pull/120","id":56677067,"number":120,"title":"Add travis","user":{"login":"stbenjam","id":429763,"avatar_url":"https://avatars.githubusercontent.com/u/429763?v=3","gravatar_id":"","url":"https://api.github.com/users/stbenjam","html_url":"https://github.com/stbenjam","followers_url":"https://api.github.com/users/stbenjam/followers","following_url":"https://api.github.com/users/stbenjam/following{/other_user}","gists_url":"https://api.github.com/users/stbenjam/gists{/gist_id}","starred_url":"https://api.github.com/users/stbenjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stbenjam/subscriptions","organizations_url":"https://api.github.com/users/stbenjam/orgs","repos_url":"https://api.github.com/users/stbenjam/repos","events_url":"https://api.github.com/users/stbenjam/events{/privacy}","received_events_url":"https://api.github.com/users/stbenjam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-05T14:30:57Z","updated_at":"2015-02-05T15:48:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Katello/katello.org/pulls/120","html_url":"https://github.com/Katello/katello.org/pull/120","diff_url":"https://github.com/Katello/katello.org/pull/120.diff","patch_url":"https://github.com/Katello/katello.org/pull/120.patch"},"body":"This brings 896 failures to 0.  There are dozens of broken links across the web site.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Katello/katello.org/issues/comments/73068656","html_url":"https://github.com/Katello/katello.org/pull/120#issuecomment-73068656","issue_url":"https://api.github.com/repos/Katello/katello.org/issues/120","id":73068656,"user":{"login":"stbenjam","id":429763,"avatar_url":"https://avatars.githubusercontent.com/u/429763?v=3","gravatar_id":"","url":"https://api.github.com/users/stbenjam","html_url":"https://github.com/stbenjam","followers_url":"https://api.github.com/users/stbenjam/followers","following_url":"https://api.github.com/users/stbenjam/following{/other_user}","gists_url":"https://api.github.com/users/stbenjam/gists{/gist_id}","starred_url":"https://api.github.com/users/stbenjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stbenjam/subscriptions","organizations_url":"https://api.github.com/users/stbenjam/orgs","repos_url":"https://api.github.com/users/stbenjam/repos","events_url":"https://api.github.com/users/stbenjam/events{/privacy}","received_events_url":"https://api.github.com/users/stbenjam/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T15:48:54Z","updated_at":"2015-02-05T15:48:54Z","body":"Um, it's tricky.  I had only planned to backport this to 2.1, 2.0 tests are going to fail even worse.\r\n\r\nIt will also need some weird juggling in the travis job, to find out the target branch from the GitHub API, merge the PR to it, checkout deploy, run the job, etc.  Something like...\r\n\r\n\r\n```ruby\r\nif (pr = ENV['TRAVIS_PULL_REQUEST']) && !pr.empty?\r\n    puts \"Testing PR #{pr}\"\r\n    JSON.load(open(\"https://api.github.com/repos/katello/Katello.org/pulls/#{pr}\").read)\r\n    sh \"git checkout #{pr_details['base']['ref']}\"\r\n    sh \"git fetch origin +refs/pull/#{pr}/merge\"\r\n    sh 'git merge FETCH_HEAD'\r\n    sh 'git checkout deploy'\r\n     # etc, etc\r\nend\r\n```\r\n\r\nIt's *totally* possible, but because this fixes so many broken things now, I'd rather we take it against nightly, and make it another rainy day thing?\r\n\r\n\r\n"}}