diff --git a/support/travis-build.py b/support/travis-build.py index 91017792..c4b8daf1 100755 --- a/support/travis-build.py +++ b/support/travis-build.py @@ -30,7 +30,7 @@ def install_dependencies(): '| 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', 'nodejs']) - check_call(['npm', 'install', '-g', 'less', 'less-plugin-clean-css']) + check_call(['sudo', 'npm', 'install', '-g', 'less@2.6.1', 'less-plugin-clean-css']) deb_file = 'doxygen_1.8.6-2_amd64.deb' urllib.urlretrieve('http://mirrors.kernel.org/ubuntu/pool/main/d/doxygen/' + deb_file, deb_file)