Michael Krotscheck 2153ac56e5 Added storyboard API to webclient venv
This change adds the storyboard API as a dependency for the virtual
environment so we can run integration and functional tests with
a live API. It also sets up the grunt development server with a local
proxy so that we don't have to worry about implementing CORS immediately.

Change-Id: I4835649630ef69f13d73ef2a10dff860aceb1f49
2014-01-22 16:37:14 -08:00

26 lines
597 B
INI

[tox]
minversion = 1.6
envlist = node
skipsdist = True
[testenv]
whitelist_externals = /bin/bash
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
deps = nodeenv
http://tarballs.openstack.org/storyboard/storyboard-master.tar.gz
[testenv:node]
commands =
nodeenv -p {envdir} --node=0.10.24 || true
npm install -g bower@1.2.8 grunt@0.4.2 grunt-cli@0.1.11
npm install
bower install
bash ./bin/api.sh create-db
bash ./bin/api.sh start
grunt {posargs}
bash ./bin/api.sh stop