f442646269
bower is deprecated and intended to be replaced. yarn is the recommended replacement for both things installed via npm and things installed via bower. Move the bower resources into package.json and add the yarn.lock file. Zuul has support for installing yarn if a yarn.lock file is found and using it to install things. Change-Id: I848f22dce6196b2df9de4b9f585e857e03cdb0d7
45 lines
1.1 KiB
INI
45 lines
1.1 KiB
INI
[tox]
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
whitelist_externals = bash
|
|
npm
|
|
node
|
|
nodejs
|
|
grunt
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = nodeenv
|
|
MySQL-python
|
|
http://tarballs.openstack.org/storyboard/storyboard-master.tar.gz
|
|
|
|
[testenv:venv]
|
|
commands =
|
|
bash ./bin/nodeenv.sh {envdir} 6.10.2
|
|
npm install
|
|
|
|
[testenv:grunt]
|
|
commands =
|
|
bash ./bin/nodeenv.sh {envdir} 6.10.2
|
|
npm install
|
|
bash ./bin/api.sh create-db
|
|
bash ./bin/api.sh start
|
|
{toxinidir}/node_modules/.bin/grunt {posargs}
|
|
bash ./bin/api.sh stop
|
|
|
|
[testenv:grunt_no_api]
|
|
deps = nodeenv
|
|
commands =
|
|
bash ./bin/nodeenv.sh {envdir} 6.10.2
|
|
npm install
|
|
{toxinidir}/node_modules/.bin/grunt {posargs}
|
|
|
|
[testenv:bindep]
|
|
# Do not install any requirements. We want this to be fast and work even if
|
|
# system dependencies are missing, since it's used to tell you what system
|
|
# dependencies are missing! This also means that bindep must be installed
|
|
# separately, outside of the requirements files.
|
|
deps = bindep
|
|
commands = bindep test
|