Skip to content

Fix the Travis build with multiple recipes #502

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

Merged
1 commit merged into from
Dec 9, 2018
Merged

Conversation

stof
Copy link
Member

@stof stof commented Dec 8, 2018

Q A
License MIT

#SymfonyConHackday2018

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request passes validation.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request passes validation.

Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent.

@@ -23,4 +23,4 @@ install:
- cd flex

script:
- composer req "${PACKAGES}"
- composer req $(echo $PACKAGES)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be the same without the double quotes instead of using echo?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, then all the line breaks in $PACAKGES will be printed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I asked the same question)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous code was passing all packages as a single argument to Composer. I tried without the double quotes, but the same happens (it looks like bash has some magical escaping there, for some reasons). That's the only way I found to have it working.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks! 👍

@ghost ghost merged commit 80b8167 into symfony:master Dec 9, 2018
ghost pushed a commit that referenced this pull request Dec 9, 2018
@stof stof deleted the fix_travis branch December 9, 2018 17:05
This pull request was closed.
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

Successfully merging this pull request may close these issues.

4 participants