Beispiel #1
0
def run_jenkins():
    """ make sure the local settings is correct and the database exists """
    env['verbose'] = True
    # don't want any stray pyc files causing trouble
    _rm_all_pyc()
    _install_django_jenkins()
    create_private_settings()
    link_local_settings('jenkins')
    clean_db()
    update_db()
    build_webassets()
    collect_static_files()
    _manage_py_jenkins()
Beispiel #2
0
def run_jenkins():
    """ make sure the local settings is correct and the database exists """
    env["verbose"] = True
    # don't want any stray pyc files causing trouble
    _rm_all_pyc()
    _install_django_jenkins()
    create_private_settings()
    link_local_settings("jenkins")
    clean_db()
    update_db()
    build_webassets()
    collect_static_files()
    _manage_py_jenkins()
Beispiel #3
0
def run_jenkins():
    """ make sure the local settings is correct and the database exists """
    env['verbose'] = True
    # don't want any stray pyc files causing trouble
    _rm_all_pyc()
    _install_django_jenkins()
    create_private_settings()
    link_local_settings('jenkins')
    clean_db()
    update_db()
    collect_static_files()
    build_webassets()
    install_javascript_modules()
    _manage_py_jenkins()
    run_javascript_tests()
    _manage_py([
        'merge_coverage_files',
        'coverage.xml',
        'cobertura-coverage.xml',
        '--output=coverage-merged.xml',
        '--path=../../reports'
    ])