Now do the same as root
This commit is contained in:
parent
3e49279267
commit
719208c24b
@ -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'])
|
||||
|
Loading…
Reference in New Issue
Block a user