Don't check build version in CI

This commit is contained in:
Cheng Zhao 2015-07-03 14:30:59 +08:00
parent 89b22db618
commit 20e9abe26a

View file

@ -108,6 +108,9 @@ def parse_args():
def get_atom_shell_build_version(): def get_atom_shell_build_version():
if os.environ.has_key('CI'):
# In CI we just build as told.
return ATOM_SHELL_VERSION
if PLATFORM == 'darwin': if PLATFORM == 'darwin':
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'R', atom_shell = os.path.join(SOURCE_ROOT, 'out', 'R',
'{0}.app'.format(PRODUCT_NAME), 'Contents', '{0}.app'.format(PRODUCT_NAME), 'Contents',