linux: Do "apt-get update" in CI.
This commit is contained in:
parent
7f534652a6
commit
ca522f06d3
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ def main():
|
||||||
os.environ['CI'] = '1'
|
os.environ['CI'] = '1'
|
||||||
|
|
||||||
if os.environ['TRAVIS'] == 'true' and sys.platform == 'linux2':
|
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)
|
subprocess.check_call(['sudo', 'apt-get', 'install'] + LINUX_DEPS)
|
||||||
|
|
||||||
rm_rf(os.path.join(SOURCE_ROOT, 'out'))
|
rm_rf(os.path.join(SOURCE_ROOT, 'out'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue