Template:TravisCIStatus: Difference between revisions
(fix link) |
(Always include link) |
||
Line 5: | Line 5: | ||
<pre> | <pre> | ||
{{TravisCIStatus|user=stsquad|repo=qemu|branch=testing/next | {{TravisCIStatus|user=stsquad|repo=qemu|branch=testing/next}} | ||
</pre> | </pre> | ||
Gives {{TravisCIStatus|user=stsquad|repo=qemu|branch=testing/next | Gives {{TravisCIStatus|user=stsquad|repo=qemu|branch=testing/next}} | ||
=== Parameters === | === Parameters === | ||
Line 15: | Line 15: | ||
* repo - name of your repo | * repo - name of your repo | ||
* branch - branch you are tracking | * branch - branch you are tracking | ||
[[Category:Template]] | [[Category:Template]] | ||
Line 23: | Line 22: | ||
The defaults are set to track the master branch of the main repository: | The defaults are set to track the master branch of the main repository: | ||
</noinclude>https://api.travis-ci.org/{{{user|qemu}}}/{{{repo|qemu}}}.png?branch={{{branch|master}}}&file=qemu.png | </noinclude>https://api.travis-ci.org/{{{user|qemu}}}/{{{repo|qemu}}}.png?branch={{{branch|master}}}&file=qemu.png [https://travis-ci.org/{{{user|qemu}}}/{{{repo|qemu}}}] |
Revision as of 10:56, 21 March 2019
Usage
This template can be used to embed a build status button for Testing/CI/Travis with an optional link:
{{TravisCIStatus|user=stsquad|repo=qemu|branch=testing/next}}
Gives [1]
Parameters
* user - username (usually mirrors your github id) * repo - name of your repo * branch - branch you are tracking
Defaults
The defaults are set to track the master branch of the main repository: