Template:GithubToTravis: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
* <nowiki>{{GithubToTravis|github=https://github.com/mozilla/build-relengapi-slaveloan|IconOnly=True}}</nowiki> | * <nowiki>{{GithubToTravis|github=https://github.com/mozilla/build-relengapi-slaveloan|IconOnly=True}}</nowiki> | ||
**{{GithubToTravis|github=https://github.com/mozilla/build-relengapi-slaveloan|IconOnly=True}}</noinclude> | **{{GithubToTravis|github=https://github.com/mozilla/build-relengapi-slaveloan|IconOnly=True}}</noinclude> | ||
<includeonly> | <includeonly>{{#if: {{{IconOnly|}}}|[[File:Travis-logo.png{{!}}65x32px{{!}}link={{#if: {{#pos:{{{github|{{{1}}}}}}|github.com}}|{{#replace:{{{github|{{{1}}}}}}|github.com|travis-ci.org}}}}]]|{{#if: {{#pos:{{{github|{{{1}}}}}}|github.com}}|{{#replace:{{{github|{{{1}}}}}}|github.com|travis-ci.org}}}}}} | ||
{{#if: {{{IconOnly|}}}|[[File:Travis-logo.png{{!}}65x32px{{!}}link={{#if: {{#pos:{{{github|{{{1}}}}}}|github.com}}|{{#replace:{{{github|{{{1}}}}}}|github.com|travis-ci.org}}}}]]|{{#if: {{#pos:{{{github|{{{1}}}}}}|github.com}}|{{#replace:{{{github|{{{1}}}}}}|github.com|travis-ci.org}}}}}} | |||
</includeonly> | </includeonly> | ||
Revision as of 06:30, 2 January 2015
Examples:
- {{GithubToTravis|https://github.com/mozilla/build-relengapi-slaveloan}}
https://travis-ci.org/mozilla/build-relengapi-slaveloan
- {{GithubToTravis|github=https://github.com/mozilla/build-relengapi-slaveloan|IconOnly=True}}