Check Travis-CI env
This commit is contained in:
parent
44be726dbb
commit
60ecc3dccf
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ def read_config() -> Dict:
|
||||||
if os.path.exists('../config.yaml'):
|
if os.path.exists('../config.yaml'):
|
||||||
with open('../config.yaml') as handle:
|
with open('../config.yaml') as handle:
|
||||||
ret = merge(ret, yaml.load(handle.read()))
|
ret = merge(ret, yaml.load(handle.read()))
|
||||||
if os.path.exists('/.dockerenv') and not os.getenv('CI', False):
|
if os.path.exists('/.dockerenv') and os.getenv('CI', '') == 'true':
|
||||||
ret = merge(ret, docker_config())
|
ret = merge(ret, docker_config())
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
Reference in a new issue