fix Travis::Task.run_local and improve the trigger task script