ci: Replaced travis with test suite while setting production setup on ci.

This commit is contained in:
arpit551
2020-04-20 20:24:20 +05:30
committed by Tim Abbott
parent 80af201ef9
commit dee8de3b88
4 changed files with 18 additions and 19 deletions

View File

@@ -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))