1
0
mirror of https://github.com/tiimgreen/github-cheat-sheet.git synced 2025-08-09 17:36:37 +02:00

Add 'CI Status on Pull Requests' section (fixes #22)

This commit is contained in:
Rafal Chmiel
2014-04-16 12:15:08 +01:00
parent 404f919b70
commit cb5058e2b6

View File

@@ -14,6 +14,7 @@ A collection of cool hidden and not so hidden features of Git and GitHub. This c
- [Line Highlighting in Repositories](#line-highlighting-in-repositories)
- [Closing Issues via Commit Messages](#closing-issues-via-commit-messages)
- [Cross-Link Issues](#cross-link-issues)
- [CI Status on Pull Requests](#ci-status-on-pull-requests)
- [Syntax Highlighting in Markdown Files](#syntax-highlighting-in-markdown-files)
- [Emojis](#emojis)
- [Images/GIFs](#imagesgifs)
@@ -202,6 +203,13 @@ To link to an issue in another repository, `user_name/repo_name#ISSUE_NUMBER` e.
![Cross-Link Issues](https://camo.githubusercontent.com/447e39ab8d96b553cadc8d31799100190df230a8/68747470733a2f2f6769746875622d696d616765732e73332e616d617a6f6e6177732e636f6d2f626c6f672f323031312f736563726574732f7265666572656e6365732e706e67)
### CI Status on Pull Requests
If set up correctly, every time you receive a Pull Request, [Travis CI](https://travis-ci.org/) will build that Pull Request just like it would every time you make a new commit. Read more about how to [get started with Travis CI](http://docs.travis-ci.com/user/getting-started/).
[![Travic CI status](https://cloud.githubusercontent.com/assets/1687642/2700187/3a88838c-c410-11e3-9a46-e65e2a0458cd.png)](https://github.com/octokit/octokit.rb/pull/452)
[*Read more about the commit status API.*](https://github.com/blog/1227-commit-status-api)
### Syntax Highlighting in Markdown Files
For example, to syntax highlight Ruby code in your Markdown files write: