From f77b00e1f72bfbf421cf9f0d7b2dfcaad96f61d7 Mon Sep 17 00:00:00 2001 From: vitaut Date: Thu, 21 May 2015 07:04:56 -0700 Subject: [PATCH] Try installing new version of lessc --- .travis.yml | 6 +++--- support/travis-build.py | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index acb3abbf..50ad9624 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,12 +2,12 @@ language: cpp os: - linux - - osx + #- osx env: - BUILD=Doc - - BUILD=Debug - - BUILD=Release + #- BUILD=Debug + #- BUILD=Release matrix: exclude: diff --git a/support/travis-build.py b/support/travis-build.py index c83cdfe9..be52ce27 100755 --- a/support/travis-build.py +++ b/support/travis-build.py @@ -17,7 +17,11 @@ if build == 'Doc': travis = 'TRAVIS' in os.environ # Install dependencies. if travis: - check_call(['sudo', 'apt-get', 'install', 'python-virtualenv', 'doxygen', 'lessc']) + with open('/etc/apt/sources.list.d/nodesource.list', 'a') as f: + f.write('deb http://deb.nodesource.com/node_0.10 precise main\n') + check_call(['sudo', 'apt-get', 'update']) + check_call(['sudo', 'apt-get', 'install', 'python-virtualenv', 'doxygen', 'nodejs']) + check_call(['npm', 'install', '-g', 'less']) cppformat_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) sys.path.insert(0, os.path.join(cppformat_dir, 'doc')) import build