mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-05-27 21:44:01 +00:00
95 lines
2.2 KiB
Bash
Executable file
95 lines
2.2 KiB
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
|
|
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 microsofttranslator
|
|
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 microsofttranslator
|
|
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 microsofttranslator
|
|
deactivate
|
|
fi
|
|
if [ ! -d .venv_16 ]
|
|
then
|
|
virtualenv --no-site-packages --distribute --python=python2 .venv_16
|
|
. .venv_16/bin/activate
|
|
pip install https://github.com/django/django/archive/stable/1.6.x.zip
|
|
pip install coverage python-memcached six microsofttranslator
|
|
deactivate
|
|
fi
|
|
if [ ! -d .venv_16_p3 ]
|
|
then
|
|
virtualenv --no-site-packages --distribute --python=python3 .venv_16_p3
|
|
. .venv_16_p3/bin/activate
|
|
pip install https://github.com/django/django/archive/stable/1.6.x.zip
|
|
pip install coverage python3-memcached six microsofttranslator
|
|
deactivate
|
|
fi
|
|
|
|
. .venv_13/bin/activate
|
|
cd testproject
|
|
python manage.py --version
|
|
python --version
|
|
python manage.py test rosetta
|
|
cd ..
|
|
deactivate
|
|
|
|
. .venv_14/bin/activate
|
|
cd testproject
|
|
python manage.py --version
|
|
python --version
|
|
python manage.py test rosetta
|
|
cd ..
|
|
deactivate
|
|
|
|
. .venv_15/bin/activate
|
|
cd testproject
|
|
python manage.py --version
|
|
python --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
|
|
|
|
. .venv_16/bin/activate
|
|
cd testproject
|
|
python manage.py --version
|
|
python --version
|
|
python manage.py test rosetta
|
|
cd ..
|
|
deactivate
|
|
|
|
. .venv_16_p3/bin/activate
|
|
cd testproject
|
|
python manage.py --version
|
|
python --version
|
|
python manage.py test rosetta
|
|
cd ..
|
|
deactivate
|
|
|