mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-05-01 02:14:49 +00:00
16 lines
373 B
Bash
Executable file
16 lines
373 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ ! -d venv_13 ]
|
|
then
|
|
virtualenv --no-site-packages --distribute --python=python2 venv_13
|
|
. venv_13/bin/activate
|
|
pip install Django==1.3 coverage python-memcached six microsofttranslator
|
|
deactivate
|
|
fi
|
|
|
|
. venv_13/bin/activate
|
|
cd testproject
|
|
coverage run --rcfile=.coveragerc manage.py test --failfast rosetta
|
|
coverage xml
|
|
coverage html
|
|
cd ..
|