Source

tw2-tests / generate-report.sh

Full commit
#!/bin/bash -e
source ~/.bashrc

workon finalize_report || mkvirtualenv --no-site-packages finalize_report
pip install mako mercurial

./_repolist.py > _run-tests.sh
chmod +x _run-tests.sh


./_run-tests.sh

hg clone https://bitbucket.org/ralphbean/tw2.devtools
cd tw2.devtools ; python setup.py install ; cd -
./_finalize_report.py
deactivate
cp htmlcov/index.html ~/webapps/tw2_tests/.
cp htmlcov/threebean.css ~/webapps/tw2_tests/.
mv htmlcov/htmlcov* ~/webapps/tw2_tests/.