]> khamidou — GitHub mirrors - electron.git/commitdiff
linux: Do "apt-get update" in CI.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 8 Aug 2014 15:53:58 +0000 (23:53 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 8 Aug 2014 15:53:58 +0000 (23:53 +0800)
script/cibuild

index 667c34cc30c5b812e5b5d5387f41d731284275b3..2343fa57685a5ddf75262f86dec430bdc2b0cc5b 100755 (executable)
@@ -22,6 +22,7 @@ def main():
   os.environ['CI'] = '1'
 
   if os.environ['TRAVIS'] == 'true' and sys.platform == 'linux2':
+    subprocess.check_call(['sudo', 'apt-get', 'update'])
     subprocess.check_call(['sudo', 'apt-get', 'install'] + LINUX_DEPS)
 
   rm_rf(os.path.join(SOURCE_ROOT, 'out'))