diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2015-09-15 22:41:29 +0300 |
commit | 21f9b84b4b729fbd7acbd465e7a3f726e4d20f91 (patch) | |
tree | eb2d091d427ca0813b445509d59cc8e27e8ad25f /yocto-poky/bitbake/lib/toaster/contrib/django-aggregate-if-master/tox.ini | |
parent | 101cef31e2bf54c678501155cd2106251acbd076 (diff) | |
parent | c124f4f2e04dca16a428a76c89677328bc7bf908 (diff) | |
download | openbmc-21f9b84b4b729fbd7acbd465e7a3f726e4d20f91.tar.xz |
Merge commit 'c124f4f2e04dca16a428a76c89677328bc7bf908' as 'yocto-poky'
Diffstat (limited to 'yocto-poky/bitbake/lib/toaster/contrib/django-aggregate-if-master/tox.ini')
-rw-r--r-- | yocto-poky/bitbake/lib/toaster/contrib/django-aggregate-if-master/tox.ini | 198 |
1 files changed, 198 insertions, 0 deletions
diff --git a/yocto-poky/bitbake/lib/toaster/contrib/django-aggregate-if-master/tox.ini b/yocto-poky/bitbake/lib/toaster/contrib/django-aggregate-if-master/tox.ini new file mode 100644 index 000000000..78beb148a --- /dev/null +++ b/yocto-poky/bitbake/lib/toaster/contrib/django-aggregate-if-master/tox.ini @@ -0,0 +1,198 @@ +[tox] +envlist = + py27-django1.4-sqlite, + py27-django1.4-postgres, + py27-django1.4-mysql, + + py27-django1.5-sqlite, + py27-django1.5-postgres, + py27-django1.5-mysql, + + py27-django1.6-sqlite, + py27-django1.6-postgres, + py27-django1.6-mysql, + + py27-django1.7-sqlite, + py27-django1.7-postgres, + py27-django1.7-mysql, + + py34-django1.6-sqlite, + py34-django1.6-postgres, + #py34-django1.6-mysql + + py34-django1.7-sqlite, + py34-django1.7-postgres, + #py34-django1.7-mysql + +[testenv] +whitelist_externals= + mysql + psql + +# Python 2.7 +# Django 1.4 +[testenv:py27-django1.4-sqlite] +basepython = python2.7 +deps = + django==1.4 +commands = python runtests.py --settings tests.test_sqlite + +[testenv:py27-django1.4-postgres] +basepython = python2.7 +deps = + django==1.4 + psycopg2 +commands = + psql -c 'create database aggregation;' postgres + python runtests.py --settings tests.test_postgres + psql -c 'drop database aggregation;' postgres + +[testenv:py27-django1.4-mysql] +basepython = python2.7 +deps = + django==1.4 + mysql-python +commands = + mysql -e 'create database aggregation;' + python runtests.py --settings tests.test_mysql + mysql -e 'drop database aggregation;' + +# Django 1.5 +[testenv:py27-django1.5-sqlite] +basepython = python2.7 +deps = + django==1.5 +commands = python runtests.py --settings tests.test_sqlite + +[testenv:py27-django1.5-postgres] +basepython = python2.7 +deps = + django==1.5 + psycopg2 +commands = + psql -c 'create database aggregation;' postgres + python runtests.py --settings tests.test_postgres + psql -c 'drop database aggregation;' postgres + +[testenv:py27-django1.5-mysql] +basepython = python2.7 +deps = + django==1.5 + mysql-python +commands = + mysql -e 'create database aggregation;' + python runtests.py --settings tests.test_mysql + mysql -e 'drop database aggregation;' + +# Django 1.6 +[testenv:py27-django1.6-sqlite] +basepython = python2.7 +deps = + django==1.6 +commands = python runtests.py --settings tests.test_sqlite + +[testenv:py27-django1.6-postgres] +basepython = python2.7 +deps = + django==1.6 + psycopg2 +commands = + psql -c 'create database aggregation;' postgres + python runtests.py --settings tests.test_postgres + psql -c 'drop database aggregation;' postgres + +[testenv:py27-django1.6-mysql] +basepython = python2.7 +deps = + django==1.6 + mysql-python +commands = + mysql -e 'create database aggregation;' + python runtests.py --settings tests.test_mysql + mysql -e 'drop database aggregation;' + + +# Python 2.7 and Django 1.7 +[testenv:py27-django1.7-sqlite] +basepython = python2.7 +deps = + django==1.7 +commands = python runtests.py --settings tests.test_sqlite + +[testenv:py27-django1.7-postgres] +basepython = python2.7 +deps = + django==1.7 + psycopg2 +commands = + psql -c 'create database aggregation;' postgres + python runtests.py --settings tests.test_postgres + psql -c 'drop database aggregation;' postgres + +[testenv:py27-django1.7-mysql] +basepython = python2.7 +deps = + django==1.7 + mysql-python +commands = + mysql -e 'create database aggregation;' + python runtests.py --settings tests.test_mysql + mysql -e 'drop database aggregation;' + + +# Python 3.4 +# Django 1.6 +[testenv:py34-django1.6-sqlite] +basepython = python3.4 +deps = + django==1.6 +commands = python runtests.py --settings tests.test_sqlite + +[testenv:py34-django1.6-postgres] +basepython = python3.4 +deps = + django==1.6 + psycopg2 +commands = + psql -c 'create database aggregation;' postgres + python runtests.py --settings tests.test_postgres + psql -c 'drop database aggregation;' postgres + +[testenv:py34-django1.6-mysql] +basepython = python3.4 +deps = + django==1.6 + mysql-python3 +commands = + mysql -e 'create database aggregation;' + python runtests.py --settings tests.test_mysql + mysql -e 'drop database aggregation;' + + +# Python 3.4 +# Django 1.7 +[testenv:py34-django1.7-sqlite] +basepython = python3.4 +deps = + django==1.7 +commands = python runtests.py --settings tests.test_sqlite + +[testenv:py34-django1.7-postgres] +basepython = python3.4 +deps = + django==1.7 + psycopg2 +commands = + psql -c 'create database aggregation;' postgres + python runtests.py --settings tests.test_postgres + psql -c 'drop database aggregation;' postgres + +[testenv:py34-django1.7-mysql] +basepython = python3.4 +deps = + django==1.7 + mysql-python3 +commands = + mysql -e 'create database aggregation;' + python runtests.py --settings tests.test_mysql + mysql -e 'drop database aggregation;' |