[travis] --quiet

This commit is contained in:
Rushabh Mehta 2018-04-16 11:25:39 +05:30
parent 102dd9fea8
commit e4aa433ea3
2 changed files with 4 additions and 3 deletions

View file

@ -34,7 +34,7 @@ before_script:
- bench setup-help
- bench scheduler disable
- bench start &
- sleep 20
- sleep 10
script:
- set -e

View file

@ -152,9 +152,10 @@ def start_scheduler():
@click.command('worker')
@click.option('--queue', type=str)
def start_worker(queue):
@click.option('--quiet', is_flag = True, default = False, help = 'Hide Log Outputs')
def start_worker(queue, quiet = False):
from frappe.utils.background_jobs import start_worker
start_worker(queue)
start_worker(queue, quiet = quiet)
@click.command('ready-for-migration')
@click.option('--site', help='site name')