Check Travis-CI env

This commit is contained in:
nothink 2018-07-26 00:11:21 +09:00
parent 828431f95d
commit 44be726dbb

View file

@ -51,7 +51,7 @@ def read_config() -> Dict:
if os.path.exists('../config.yaml'):
with open('../config.yaml') as handle:
ret = merge(ret, yaml.load(handle.read()))
if os.path.exists('/.dockerenv') and not os.getenv(CI, False):
if os.path.exists('/.dockerenv') and not os.getenv('CI', False):
ret = merge(ret, docker_config())
return ret