Template:TravisCIStatus: Difference between revisions

From QEMU
(Always include link)
Line 2: Line 2:
==Usage==
==Usage==


This template can be used to embed a build status button for [[Testing/CI/Travis]] with an optional link:
This template can be used to embed a build status button for [[Testing/CI/Travis]] with an link:


<pre>
<pre>

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 link:

{{TravisCIStatus|user=stsquad|repo=qemu|branch=testing/next}}

Gives next&file=qemu.png [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:

qemu.png?branch=master&file=qemu.png [2]