mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-05-25 20:53:45 +00:00
62 lines
1.3 KiB
Bash
62 lines
1.3 KiB
Bash
#!/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
|
|
deactivate
|
|
fi
|
|
if [ ! -d venv_14 ]
|
|
then
|
|
virtualenv --no-site-packages --distribute --python=python2 venv_14
|
|
. venv_14/bin/activate
|
|
pip install Django==1.4 coverage python-memcached six
|
|
deactivate
|
|
fi
|
|
if [ ! -d venv_15 ]
|
|
then
|
|
virtualenv --no-site-packages --distribute --python=python2 venv_15
|
|
. venv_15/bin/activate
|
|
pip install Django==1.5 coverage python-memcached six
|
|
deactivate
|
|
fi
|
|
if [ ! -d venv_15_p3 ]
|
|
then
|
|
virtualenv --no-site-packages --distribute --python=python3 venv_15_p3
|
|
. venv_15_p3/bin/activate
|
|
pip install Django==1.5 coverage python3-memcached six
|
|
deactivate
|
|
fi
|
|
|
|
|
|
|
|
. venv_13/bin/activate
|
|
cd testproject
|
|
python manage.py --version
|
|
python manage.py test rosetta
|
|
cd ..
|
|
deactivate
|
|
|
|
. venv_14/bin/activate
|
|
cd testproject
|
|
python manage.py --version
|
|
python manage.py test rosetta
|
|
cd ..
|
|
deactivate
|
|
|
|
. venv_15/bin/activate
|
|
cd testproject
|
|
python manage.py --version
|
|
python manage.py test rosetta
|
|
cd ..
|
|
deactivate
|
|
|
|
. venv_15_p3/bin/activate
|
|
cd testproject
|
|
python manage.py --version
|
|
python --version
|
|
python manage.py test rosetta
|
|
cd ..
|
|
deactivate
|
|
|