Run metrics task on travis