{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/12387","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/12387/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/12387/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/12387/events","html_url":"https://github.com/JuliaLang/julia/pull/12387","id":98130667,"number":12387,"title":"WIP: fail fast on Travis for multiple queued builds in same PR","user":{"login":"tkelman","id":5934628,"avatar_url":"https://avatars.githubusercontent.com/u/5934628?v=3","gravatar_id":"","url":"https://api.github.com/users/tkelman","html_url":"https://github.com/tkelman","followers_url":"https://api.github.com/users/tkelman/followers","following_url":"https://api.github.com/users/tkelman/following{/other_user}","gists_url":"https://api.github.com/users/tkelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tkelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkelman/subscriptions","organizations_url":"https://api.github.com/users/tkelman/orgs","repos_url":"https://api.github.com/users/tkelman/repos","events_url":"https://api.github.com/users/tkelman/events{/privacy}","received_events_url":"https://api.github.com/users/tkelman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-30T10:00:27Z","updated_at":"2015-07-30T13:34:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/12387","html_url":"https://github.com/JuliaLang/julia/pull/12387","diff_url":"https://github.com/JuliaLang/julia/pull/12387.diff","patch_url":"https://github.com/JuliaLang/julia/pull/12387.patch"},"body":"As suggested by @yuyichao in https://github.com/JuliaLang/julia/pull/12292#issuecomment-126143191\r\nWe're doing this on AppVeyor already, and lately the queue has been just about as bad on Travis thanks to now having 2 appveyor workers that aren't freezing and timing out any more.\r\n\r\nI'll push a few dummy commits to this branch to test whether or not this works properly."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/126326091","html_url":"https://github.com/JuliaLang/julia/pull/12387#issuecomment-126326091","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/12387","id":126326091,"user":{"login":"tkelman","id":5934628,"avatar_url":"https://avatars.githubusercontent.com/u/5934628?v=3","gravatar_id":"","url":"https://api.github.com/users/tkelman","html_url":"https://github.com/tkelman","followers_url":"https://api.github.com/users/tkelman/followers","following_url":"https://api.github.com/users/tkelman/following{/other_user}","gists_url":"https://api.github.com/users/tkelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tkelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkelman/subscriptions","organizations_url":"https://api.github.com/users/tkelman/orgs","repos_url":"https://api.github.com/users/tkelman/repos","events_url":"https://api.github.com/users/tkelman/events{/privacy}","received_events_url":"https://api.github.com/users/tkelman/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T13:34:19Z","updated_at":"2015-07-30T13:34:19Z","body":"No, I can use `$TRAVIS_BRANCH` to get what branch the worker is on, what I want is to query the API to find the latest push build for a given branch. Turns out you don't go through the builds endpoint for that, you go through branches http://docs.travis-ci.com/api/#branches. So it should work, I think. About to test."}}