diff --git a/script/cibuild b/script/cibuild index a23ce30ef89f..6e492ea33fe8 100755 --- a/script/cibuild +++ b/script/cibuild @@ -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']