Now do the same as root

This commit is contained in:
vitaut 2015-05-21 08:14:47 -07:00
parent 3e49279267
commit 719208c24b

View File

@ -17,10 +17,10 @@ if build == 'Doc':
travis = 'TRAVIS' in os.environ
# Install dependencies.
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' | " +
"sudo tee /etc/apt/sources.list.d/nodesource.list", shell=True)
check_call('curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | ' +
'sudo apt-key add -', shell=True)
check_call('echo "deb https://deb.nodesource.com/node_0.10 precise main" | ' +
'sudo tee /etc/apt/sources.list.d/nodesource.list', shell=True)
check_call(['sudo', 'apt-get', 'update'])
check_call(['sudo', 'apt-get', 'install', 'python-virtualenv', 'doxygen', 'nodejs'])
check_call(['npm', 'install', '-g', 'less'])