Added jenkins support

This commit is contained in:
2013-08-18 22:42:02 +10:00
parent 8358990e2b
commit df664d4a68
2 changed files with 21 additions and 0 deletions

View File

@@ -1,6 +1,14 @@
Django==1.5.1 Django==1.5.1
South==0.8.1 South==0.8.1
astroid==1.0.0
coverage==3.6
distribute==0.6.34 distribute==0.6.34
django-dajax==0.9.2 django-dajax==0.9.2
django-dajaxice==0.5.5 django-dajaxice==0.5.5
django-jenkins==0.14.1
jslint==0.6.0
logilab-common==0.60.0
pep8==1.4.6
pyflakes==0.7.3
pylint==1.0.0
wsgiref==0.1.2 wsgiref==0.1.2

View File

@@ -136,6 +136,7 @@ INSTALLED_APPS = (
'south', 'south',
'dajaxice', 'dajaxice',
'dajax', 'dajax',
'django_jenkins',
) )
# A sample logging configuration. The only tangible logging # A sample logging configuration. The only tangible logging
@@ -171,6 +172,18 @@ LOGGING = {
#The replace XMLHttpRequest interferes with other scripts, so do not replace it #The replace XMLHttpRequest interferes with other scripts, so do not replace it
DAJAXICE_XMLHTTPREQUEST_JS_IMPORT = False DAJAXICE_XMLHTTPREQUEST_JS_IMPORT = False
JENKINS_TASKS = (
'django_jenkins.tasks.with_coverage',
#'django_jenkins.tasks.django_tests', # select one django or
'django_jenkins.tasks.dir_tests', # directory tests discovery
'django_jenkins.tasks.run_pep8',
'django_jenkins.tasks.run_pyflakes',
'django_jenkins.tasks.run_jshint',
'django_jenkins.tasks.run_csslint',
'django_jenkins.tasks.run_sloccount',
)
# Custom config settings # Custom config settings
MODEL_DIRS = ( MODEL_DIRS = (
# put model directories here, separated by commas. If there are # put model directories here, separated by commas. If there are