murano-dashboard/tools/post_install.sh
Timur Sufiev 4728d454e4 Add JS unit tests runner and commands to dashboard
Targets-blueprint: metadata-assignment-and-propagation
Change-Id: Id71f106e02329c555cd105204723637536e4c313
2016-10-07 16:09:01 +03:00

14 lines
434 B
Bash
Executable File

#!/bin/bash
# This script will be executed inside npm postinstall task, see package.json
# pull down the test shim from horizon master because it's not
# included in the installed horizon packages
if [ ! -f test-shim.js ];
then
wget -nv -t 3 http://git.openstack.org/cgit/openstack/horizon/plain/test-shim.js
fi
echo "Creating a tox env which will contain xStatic libraries, horizon, and openstack_dashboard"
tox -epy27 --notest