mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-27 03:21:34 +00:00
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
|
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 -',
|
check_call('curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | ' +
|
||||||
shell=True)
|
'sudo 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'])
|
||||||
check_call(['sudo', 'apt-get', 'install', 'python-virtualenv', 'doxygen', 'nodejs'])
|
check_call(['sudo', 'apt-get', 'install', 'python-virtualenv', 'doxygen', 'nodejs'])
|
||||||
check_call(['npm', 'install', '-g', 'less'])
|
check_call(['npm', 'install', '-g', 'less'])
|
||||||
|
Loading…
Reference in New Issue
Block a user