linux: Install libgnome-keyring-dev on travis CI.

This commit is contained in:
Cheng Zhao 2014-08-08 23:10:20 +08:00
parent bcfba96d29
commit 54b8a62920

View file

@ -13,6 +13,9 @@ SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
def main():
os.environ['CI'] = '1'
if os.environ['TRAVIS'] == 'true' and sys.platform == 'linux2':
subprocess.check_call(['sudo', 'apt-get', 'install', 'libgnome-keyring-dev'])
rm_rf(os.path.join(SOURCE_ROOT, 'out'))
rm_rf(os.path.join(SOURCE_ROOT, 'node_modules'))
rm_rf(os.path.join(SOURCE_ROOT, 'frameworks'))