mirror of
https://github.com/status-im/sourcecred.git
synced 2025-02-20 00:08:10 +00:00
Summary: The `"PASS"` label only makes sense for tests. This commit makes the labels configurable, so that the verbiage can make more sense in other contexts, too. Test Plan: Apply a patch like ```diff diff --git a/config/travis.js b/config/travis.js index af0996b..b0ab3b6 100644 --- a/config/travis.js +++ b/config/travis.js @@ -10,7 +10,11 @@ function main() { process.argv.includes("--full") ? "FULL" : "BASIC"; - execDependencyGraph(makeTasks(mode)).then(({success}) => { + execDependencyGraph(makeTasks(mode), { + taskLaunchLabel: " YO ", + taskPassLabel: "WHEE", + taskFailLabel: "UHOH", + }).then(({success}) => { process.exitCode = success ? 0 : 1; }); } ``` and note that `GITHUB_TOKEN=none yarn travis --full` exhibits all desired messages. wchargin-branch: configurable-labels