Try installing new version of lessc
This commit is contained in:
parent
eb20f8aece
commit
f77b00e1f7
@ -2,12 +2,12 @@ language: cpp
|
||||
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
#- osx
|
||||
|
||||
env:
|
||||
- BUILD=Doc
|
||||
- BUILD=Debug
|
||||
- BUILD=Release
|
||||
#- BUILD=Debug
|
||||
#- BUILD=Release
|
||||
|
||||
matrix:
|
||||
exclude:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user