Template:TravisCIStatus

From QEMU
Revision as of 16:00, 15 March 2019 by Ajb (talk | contribs) (→‎Usage)

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|link=yes}}

Gives next&file=qemu.png {{#varexists: link|[1]))

Parameters

* user - username (usually mirrors your github id)
* repo - name of your repo
* branch - branch you are tracking
* link - if set adds link to the page

Defaults

The defaults are set to track the master branch of the main repository:

qemu.png?branch=master&file=qemu.png {{#varexists: link|[2]))