05451e3e59
This patch adds configuration for Karma. Change-Id: Ibb65060836f967ac81a57ea279d7fa494e238d49 Implements blueprint: merlin-unittests
20 lines
443 B
INI
20 lines
443 B
INI
[tox]
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
whitelist_externals = bash
|
|
npm
|
|
node
|
|
nodejs
|
|
bower
|
|
grunt
|
|
|
|
[testenv:grunt]
|
|
deps = nodeenv
|
|
commands =
|
|
bash ./bin/nodeenv.sh {envdir} 0.10.29
|
|
npm install
|
|
{toxinidir}/node_modules/.bin/bower install --config.interactive=false
|
|
{toxinidir}/node_modules/.bin/grunt {posargs}
|