Skip to content

Commit

Permalink
πŸ— Report test statuses from Travis until it is turned off (#32193)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimha committed Jan 26, 2021
1 parent fa78077 commit d6278ba
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build-system/tasks/report-test-status.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ const TEST_TYPE_SUBTYPES = isGithubActionsBuild()
['integration', ['firefox', 'safari', 'edge', 'ie']],
['unit', ['firefox', 'safari', 'edge']],
])
: isCircleciBuild()
: // TODO(rsimha): Remove `isTravisBuild()` condition once Travis is shut off.
isCircleciBuild() || isTravisBuild()
? new Map([
['integration', ['unminified', 'nomodule', 'module']],
['unit', ['unminified', 'local-changes']],
Expand Down Expand Up @@ -90,8 +91,8 @@ function inferTestType() {
}

async function postReport(type, action) {
// TODO(rsimha): Remove `!isTravisBuild()` condition once Travis is shut off.
if (type && isPullRequestBuild() && !isTravisBuild()) {
// TODO(rsimha): Remove `isTravisBuild()` condition once Travis is shut off.
if (type && isPullRequestBuild() && isTravisBuild()) {
const commitHash = gitCommitHash();

try {
Expand Down

0 comments on commit d6278ba

Please sign in to comment.