From ca522f06d30660471a9f68784d8ec39df0180768 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 8 Aug 2014 23:53:58 +0800 Subject: [PATCH] linux: Do "apt-get update" in CI. --- script/cibuild | 1 + 1 file changed, 1 insertion(+) diff --git a/script/cibuild b/script/cibuild index 667c34cc30c5..2343fa57685a 100755 --- a/script/cibuild +++ b/script/cibuild @@ -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'))