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
Command to generate the travis.yml file produces faulty output #19941
Comments
It seems like when twig renders the template missing some of the |
PR matomo-org/travis-scripts#81 is merged, but seems like we still need to do a |
I didn't have a look in detail here, but simply merging this PR might possibly even create more trouble that we currently have. On travis we try to auto generate the travis.yml. That is always done in the first job (not for PRs I think). This jobs are running with PHP 7.2 in most cases. So if updating twig changes the result also for PHP 7.2, this might mean that those jobs will start failing now and we need to update all .travis.yml files in all plugin repos. |
@sgiehl right maybe is out of scale for this issue, but since PHP 7.2 is deprecated. Do we want to update the test from 7.2 to 7.4? I test 7.4 worked as expected. |
No. We always need to run our tests against the lowest PHP version we are supporting. Otherwise we might miss incompatibilities there... |
Just a note: On PHP 7.2 the output is completely as expected. |
close this issue now, test PHP 7.2 works |
The
generate:travis-yml
command is generating yaml files with broken newlines. I tested in PHP 8.1 and 7.4 with the same results. It could be worth testing this works in PHP 7.2 as this may have been the last PHP version it was successfully run in.Ideally we don't update the travis.yml files manually, but can use the command.
Expected Behavior
Properly formatted yaml files for
--core
and--plugin=<PluginName>
Current Behavior
Some newlines are missing (not all new lines)
Possible Solution
Steps to Reproduce (for Bugs)
./console generate:travis-yml --core
or./console generate:travis-yml --plugin=TagManager
Context
Your Environment
The text was updated successfully, but these errors were encountered: