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

Fix the URL for Travis Pro badge #319

Merged
merged 1 commit into from
Apr 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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