mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-05-02 10:54:43 +00:00
test against django 1.7b1
This commit is contained in:
parent
84991fa7c8
commit
cca274a7c1
1 changed files with 33 additions and 0 deletions
|
|
@ -35,6 +35,23 @@ then
|
|||
pip install --use-mirrors coverage python3-memcached six Django==1.6.1 requests==2.1.0 polib==1.0.4
|
||||
deactivate
|
||||
fi
|
||||
if [ ! -d .venv_17b ]
|
||||
then
|
||||
virtualenv --no-site-packages --distribute --python=python2 .venv_17b
|
||||
. .venv_17b/bin/activate
|
||||
pip install https://github.com/django/django/archive/1.7b1.zip
|
||||
pip install --use-mirrors coverage python-memcached six requests==2.1.0 polib==1.0.4
|
||||
deactivate
|
||||
fi
|
||||
if [ ! -d .venv_17b_p3 ]
|
||||
then
|
||||
virtualenv --no-site-packages --distribute --python=python3 .venv_17b_p3
|
||||
. .venv_17b_p3/bin/activate
|
||||
pip install https://github.com/django/django/archive/1.7b1.zip
|
||||
pip install --use-mirrors coverage python3-memcached six requests==2.1.0 polib==1.0.4
|
||||
deactivate
|
||||
fi
|
||||
|
||||
|
||||
. .venv_14/bin/activate
|
||||
cd testproject
|
||||
|
|
@ -76,5 +93,21 @@ python manage.py test rosetta
|
|||
cd ..
|
||||
deactivate
|
||||
|
||||
. .venv_17b/bin/activate
|
||||
cd testproject
|
||||
python manage.py --version
|
||||
python --version
|
||||
python manage.py test rosetta
|
||||
cd ..
|
||||
deactivate
|
||||
|
||||
. .venv_17b_p3/bin/activate
|
||||
cd testproject
|
||||
python manage.py --version
|
||||
python --version
|
||||
python manage.py test rosetta
|
||||
cd ..
|
||||
deactivate
|
||||
|
||||
# Check translations
|
||||
for d in `find rosetta -name LC_MESSAGES -type d`; do msgfmt -c -o $d/django.mo $d/django.po; done
|
||||
|
|
|
|||
Loading…
Reference in a new issue