Created
October 6, 2018 08:13
-
-
Save dob9601/ca1531383877b2d9e76a281e03360807 to your computer and use it in GitHub Desktop.
Travis one-liner to fail a build on a django application of someone attempts to push a build with DEBUG=True. Replace APP_NAME with the name of your application.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python -c "from APP_NAME.settings import DEBUG; assert not DEBUG" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment