linux: Install libgnome-keyring-dev on travis CI.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 8 Aug 2014 15:10:20 +0000 (23:10 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 8 Aug 2014 15:10:20 +0000 (23:10 +0800)
script/cibuild

index b91df13..e4f21b6 100755 (executable)
@@ -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'))