-
Notifications
You must be signed in to change notification settings - Fork 123
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
Disallow tabs in Travis CI #143
base: master
Are you sure you want to change the base?
Conversation
This addresses some concerns raised in csmith-project#142, but perhaps it also makes sense to expand this beyond `creduce.in` to the rest of the code base.
I don't really want to fail the Travis-CI build due to violated style rules. In #142 I said that it was the best I knew how to do—but that doesn't mean that I really want to do it. There must be a better approach to enforcing style rules. Isn't there? We should find it. |
FWIW, it should still run the |
Is it because
You can set up the master to disallow direct pushes, and require everything to go through a PR for which CI passes. Depends on whether you think it the added ceremony pays for itself or not. |
I agree that it would be good to make "make check" fail but not to make the CI fail on this issue. |
Ideally, I would like style issues to be dealt with before the CI build. It seems silly to me for style rules to be enforced so late in the pipeline. At the same time, I'm not sure how to enforce them both (1) for everybody and (2) earlier. This is worth some investigation, I think, before committing to something (ha ha). (Surely other GitHub-hosted projects enforce style rules automatically; how do they do it? Do they all do it as you outline, by requiring commits to master to come from pull requests that have been vetted by the CI?) |
I imagine so. I find pull reqs heavyweight for such a small project as this, but could be convinced otherwise. |
This addresses some concerns raised in #142, but perhaps it also makes sense to expand this beyond
creduce.in
to the rest of the code base.