Added jenkins support
This commit is contained in:
13
settings.py
13
settings.py
@@ -136,6 +136,7 @@ INSTALLED_APPS = (
|
||||
'south',
|
||||
'dajaxice',
|
||||
'dajax',
|
||||
'django_jenkins',
|
||||
)
|
||||
|
||||
# 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
|
||||
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
|
||||
MODEL_DIRS = (
|
||||
# put model directories here, separated by commas. If there are
|
||||
|
||||
Reference in New Issue
Block a user