mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 02:01:01 -03:30
Updated to be compatible with Django 1.4.5, added tox settings for automated testing with Python 2.6/2.7 and Django 1.4/1.5.
This commit is contained in:
37
tox.ini
Normal file
37
tox.ini
Normal file
@@ -0,0 +1,37 @@
|
||||
[tox]
|
||||
envlist =
|
||||
py26-dj14, py27-dj14, py26-dj15, py27-dj15
|
||||
|
||||
[testenv]
|
||||
commands = python manage.py test main
|
||||
deps =
|
||||
-r{toxinidir}/requirements/test.txt
|
||||
setenv =
|
||||
DJANGO_SETTINGS_MODULE = ansibleworks.settings.development
|
||||
# For OS X to be able to install pycrypto.
|
||||
CFLAGS=-I/opt/local/include
|
||||
downloadcache = {toxworkdir}/cache
|
||||
|
||||
[testenv:py26-dj14]
|
||||
basepython = python2.6
|
||||
deps =
|
||||
Django==1.4.5
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:py27-dj14]
|
||||
basepython = python2.7
|
||||
deps =
|
||||
Django==1.4.5
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:py26-dj15]
|
||||
basepython = python2.6
|
||||
deps =
|
||||
Django==1.5.1
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:py27-dj15]
|
||||
basepython = python2.7
|
||||
deps =
|
||||
Django==1.5.1
|
||||
{[testenv]deps}
|
||||
Reference in New Issue
Block a user