mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-05-19 10:11:06 +00:00
have the test scripts create and provision the virtual envs
This commit is contained in:
parent
7604c5dbfe
commit
c38f8128b5
3 changed files with 48 additions and 0 deletions
|
|
@ -1,5 +1,14 @@
|
|||
#!/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
|
||||
|
||||
|
||||
. venv_13/bin/activate
|
||||
cd testproject
|
||||
python manage.py test rosetta
|
||||
|
|
|
|||
|
|
@ -1,5 +1,13 @@
|
|||
#!/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
|
||||
|
||||
. venv_13/bin/activate
|
||||
cd testproject
|
||||
coverage run --rcfile=.coveragerc manage.py test --failfast rosetta
|
||||
|
|
|
|||
|
|
@ -1,5 +1,36 @@
|
|||
#!/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
|
||||
|
|
|
|||
Loading…
Reference in a new issue