{"action":"closed","issue":{"url":"https://api.github.com/repos/Shippable/support/issues/1173","repository_url":"https://api.github.com/repos/Shippable/support","labels_url":"https://api.github.com/repos/Shippable/support/issues/1173/labels{/name}","comments_url":"https://api.github.com/repos/Shippable/support/issues/1173/comments","events_url":"https://api.github.com/repos/Shippable/support/issues/1173/events","html_url":"https://github.com/Shippable/support/issues/1173","id":61737802,"number":1173,"title":"RFE: exit build with message to appear on github, etc","user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Shippable/support/labels/feature%20request","name":"feature request","color":"449999"},{"url":"https://api.github.com/repos/Shippable/support/labels/investigate","name":"investigate","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-15T03:30:12Z","updated_at":"2016-03-16T22:11:33Z","closed_at":"2016-03-16T22:11:33Z","body":"It would be really great if scripts could be written with some extra information that would appear in PRs if they fail, e.g. instead of the current\r\n\r\n```bash\r\n  - sbt ++$SCALA_VERSION clean test:compile it:compile doc &&\r\n    sbt ++$SCALA_VERSION test it:test &&\r\n    sbt ++$SCALA_VERSION publishLocal &&\r\n    ensime-emacs/test/run_emacs_tests.sh &&\r\n```\r\n\r\nimagine if we could write\r\n\r\n```bash\r\n  - sbt ++$SCALA_VERSION clean test:compile it:compile doc || failed \"compilation\"\r\n  - sbt ++$SCALA_VERSION test it:test || failed \"tests\"\r\n  - sbt ++$SCALA_VERSION publishLocal &&\r\n    ensime-emacs/test/run_emacs_tests.sh || failed \"integration tests\"\r\n```\r\n\r\nit would be even better if the PR comment included a link to the relevant part of the log.\r\n\r\nUnder Travis rules, if a line fails the others will still be evaluated. I'd like a way of just exiting immediately with the message. Anything that speeds up the cycle is good."}}