mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
ci: Replaced travis with test suite while setting production setup on ci.
This commit is contained in:
@@ -181,8 +181,8 @@ def main(options: argparse.Namespace) -> int:
|
||||
else:
|
||||
print("No need to run `scripts/setup/inline_email_css.py`.")
|
||||
|
||||
if not options.is_production_travis:
|
||||
# The following block is skipped for the production Travis
|
||||
if not options.is_production_test_suite:
|
||||
# The following block is skipped for the production test
|
||||
# suite, because that suite doesn't make use of these elements
|
||||
# of the development environment (it just uses the development
|
||||
# environment to build a release tarball).
|
||||
@@ -280,10 +280,10 @@ if __name__ == "__main__":
|
||||
default=False,
|
||||
help="Ignore all provisioning optimizations.")
|
||||
|
||||
parser.add_argument('--production-travis', action='store_true',
|
||||
dest='is_production_travis',
|
||||
parser.add_argument('--production-test-suite', action='store_true',
|
||||
dest='is_production_test_suite',
|
||||
default=False,
|
||||
help="Provision for Travis with production settings.")
|
||||
help="Provision for test suite with production settings.")
|
||||
|
||||
options = parser.parse_args()
|
||||
sys.exit(main(options))
|
||||
|
Reference in New Issue
Block a user