Try installing new version of lessc
This commit is contained in:
parent
eb20f8aece
commit
f77b00e1f7
@ -2,12 +2,12 @@ language: cpp
|
|||||||
|
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
#- osx
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- BUILD=Doc
|
- BUILD=Doc
|
||||||
- BUILD=Debug
|
#- BUILD=Debug
|
||||||
- BUILD=Release
|
#- BUILD=Release
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
exclude:
|
exclude:
|
||||||
|
@ -17,7 +17,11 @@ if build == 'Doc':
|
|||||||
travis = 'TRAVIS' in os.environ
|
travis = 'TRAVIS' in os.environ
|
||||||
# Install dependencies.
|
# Install dependencies.
|
||||||
if travis:
|
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__)))
|
cppformat_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
|
||||||
sys.path.insert(0, os.path.join(cppformat_dir, 'doc'))
|
sys.path.insert(0, os.path.join(cppformat_dir, 'doc'))
|
||||||
import build
|
import build
|
||||||
|
Loading…
Reference in New Issue
Block a user