Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I add new log fold sections? #949

Closed
jpritikin opened this issue Feb 1, 2017 · 1 comment
Closed

Can I add new log fold sections? #949

jpritikin opened this issue Feb 1, 2017 · 1 comment

Comments

@jpritikin
Copy link

When showing the log, travis folds sections up into 1 line. For example, Worker information is summarized as 1 line and you can click the expander to see the details.

When I run our test suite, it generates tons of output. Is there any way to tell travis to fold the output?

Thanks.

@BanzaiMan
Copy link
Contributor

It's not currently documented, but you can use this to achieve it. https://github.com/travis-ci/travis-rubies/blob/9f7962a881c55d32da7c76baefc58b89e3941d91/build.sh#L38-L44 (Undocumented, but unlikely to change.)

Do note that you cannot nest folds.

Liu233w pushed a commit to Liu233w/acm-statistics that referenced this issue Apr 4, 2019
方便通过 log 来 debug。同时这些 log 是可以折叠的,避免让日志太过杂乱。从 travis-ci/docs-travis-ci-com#949 (comment) 找到的折叠方法。
Liu233w pushed a commit to Liu233w/acm-statistics that referenced this issue Apr 4, 2019
方便通过 log 来 debug。同时这些 log 是可以折叠的,避免让日志太过杂乱。从 travis-ci/docs-travis-ci-com#949 (comment) 找到的折叠方法。
benclifford added a commit to Parsl/parsl that referenced this issue May 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@BanzaiMan @jpritikin and others