Add APT key

This commit is contained in:
vitaut 2015-05-21 08:03:00 -07:00
parent 595845153d
commit 3e49279267

View File

@ -17,6 +17,8 @@ if build == 'Doc':
travis = 'TRAVIS' in os.environ travis = 'TRAVIS' in os.environ
# Install dependencies. # Install dependencies.
if travis: if travis:
check_call('curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -',
shell=True)
check_call("echo 'deb https://deb.nodesource.com/node_0.10 precise main' | " + check_call("echo 'deb https://deb.nodesource.com/node_0.10 precise main' | " +
"sudo tee /etc/apt/sources.list.d/nodesource.list", shell=True) "sudo tee /etc/apt/sources.list.d/nodesource.list", shell=True)
check_call(['sudo', 'apt-get', 'update']) check_call(['sudo', 'apt-get', 'update'])