Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #319 from xwp/badge-patch
Browse files Browse the repository at this point in the history
Fix the URL for Travis Pro badge
  • Loading branch information
derekherman authored Apr 28, 2020
2 parents e9f2a93 + 601af00 commit b10de31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-markdown-readme
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ try {
if ( file_exists( $readme_root . '/.travis.yml' ) ) {
$branch = isset( $env_vars['DEFAULT_BASE_BRANCH'] ) ? $env_vars['DEFAULT_BASE_BRANCH'] : 'master';
if ( isset( $travis_ci_pro_badge ) ) {
$md_args['travis_ci_pro_url'] = "https://magnum.travis-ci.com/$github_account_repo";
$md_args['travis_ci_pro_url'] = "https://travis-ci.com/$github_account_repo";
$md_args['travis_ci_pro_badge_src'] = $md_args['travis_ci_pro_url'] . ".svg?token=$travis_ci_pro_badge&branch=$branch";
}
if ( ! isset( $md_args['travis_ci_pro_url'] ) ) {
Expand Down

0 comments on commit b10de31

Please sign in to comment.