Try doing release in CI

This commit is contained in:
Cheng Zhao 2015-07-03 12:08:14 +08:00
parent a720e52568
commit f99cd4d05a

View file

@ -59,7 +59,7 @@ def main():
npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'
execute([npm, 'install', 'npm@2.12.1'])
is_release = os.environ.has_key('ELECTRON_RELEASE')
is_release = not is_travis
args = ['--target_arch=' + target_arch]
if not is_release:
args += ['--dev']