linux: Do "apt-get update" in CI.

This commit is contained in:
Cheng Zhao 2014-08-08 23:53:58 +08:00
parent 7f534652a6
commit ca522f06d3

View file

@ -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'))