-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Experiment with "Checks" in Travis output #1081
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I don't think Travis has any way to collect metadata from build steps to display in GitHub. So, although we'll know that checks have failed, we'll still need to go through the build log output on travis-ci.com to see what exactly failed. Very sad. |
lint and test jobs will run in parallel and if both are successful (and branch is master), deploy will run.
I've split the build into two stages:
The Checks tab now displays info about which job has failed. This isn't as good as the fine-grained items you get with Circle CI: |
very cool! let me know when this is ready to merge! |
This reverts commit 306c91c.
I've reverted the linting error and fixed the failing test so the check should now pass. It's a shame Travis doesn't send a fine-grained breakdown of what's failed to GitHub but I think it's good enough for now. As an aside, 93c226c shows why I don't think snapshot tests are very useful. Something in the |
It seems as though travis is running the |
Ok, that seems to have worked. Travis won't run the top-level @catarak I think this is ready to review/merge. |
yay this looks great! merging ✨ |
* Run tests on CI * Create a lint error on purpose * Splits build into test and deploy stages lint and test jobs will run in parallel and if both are successful (and branch is master), deploy will run. * Revert "Create a lint error on purpose" This reverts commit 306c91c. * Updating snapshot * Run deploy only on master branch (not PRs) * Use global deploy config item to avoid building on PRs
Do not mergeI'm creating this PR to experiment with the types of information that appears in the Checks tab.
Ideally we'd want: