Fix validate_config.py and .travis.yml config

This commit is contained in:
Eloston
2018-06-01 12:38:04 +00:00
parent 18c9e6e330
commit 1b9bc64c46
2 changed files with 4 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
language: python
python:
- "3.5"
- "3.6"
install:
- true # Skip installing dependencies
script:
- ./developer_utilities/validate_config.py

View File

@@ -233,7 +233,7 @@ def main():
"""CLI entrypoint"""
logger = get_logger(prepend_timestamp=False, log_init=False)
warnings = True
warnings = False
patches_dir = get_resources_dir() / PATCHES_DIR
config_bundles_dir = get_resources_dir() / CONFIG_BUNDLES_DIR
@@ -267,9 +267,9 @@ def main():
warnings = True
except BuildkitAbort:
exit(2)
if warnings:
exit(1)
exit(0)
if __name__ == '__main__':
if sys.argv[1:]: