From 719208c24b45500b32692eddb8044d7c436f3eff Mon Sep 17 00:00:00 2001 From: vitaut Date: Thu, 21 May 2015 08:14:47 -0700 Subject: [PATCH] Now do the same as root --- support/travis-build.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/support/travis-build.py b/support/travis-build.py index 21416286..8fbf59c6 100755 --- a/support/travis-build.py +++ b/support/travis-build.py @@ -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'])