Skip to content

Full symfony 4 dependencies #232

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
merged 7 commits into from
Nov 30, 2017
Merged

Full symfony 4 dependencies #232

merged 7 commits into from
Nov 30, 2017

Conversation

fbourigault
Copy link
Contributor

@fbourigault fbourigault commented Nov 29, 2017

This is a tentative to test against Symfony 4 only dependencies.

As @Nyholm has now merge rights on matthiasnoback/symfony-config-test and matthiasnoback/symfony-dependency-injection-test, we will be able to get this working.

Once those versions will be tagged, tell me so I will be able to rebase and remove the dev-dependency.

@fbourigault fbourigault force-pushed the full-symfony-4-dependencies branch from 1ed2d12 to d36dc50 Compare November 30, 2017 06:55
@fbourigault
Copy link
Contributor Author

We need a new release of https://github.com/php-http/client-common!

.travis.yml Outdated
cache:
directories:
- $HOME/.composer/cache/files
- $HOME/symfony-bridge/.phpunit

env:
global:
- TEST_COMMAND="composer test"
Copy link
Member

Choose a reason for hiding this comment

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

The php-http organisation has (maybe silently) decided that all our packages should be tested with composer test and composer test-ci.

We do not need the PHPUNIT_FLAGS. You should revert this and continue using TEST_COMMAND

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok. I pushed a better version IMHO. Let's see what's the build result.

@fbourigault fbourigault force-pushed the full-symfony-4-dependencies branch from 7cea880 to e514408 Compare November 30, 2017 13:16
@fbourigault fbourigault force-pushed the full-symfony-4-dependencies branch from e514408 to 85f9571 Compare November 30, 2017 13:20
@fbourigault fbourigault changed the title [WIP] Full symfony 4 dependencies Full symfony 4 dependencies Nov 30, 2017
@fbourigault
Copy link
Contributor Author

This is now ready to merge.

.travis.yml Outdated

allow_failures:
# dev-master is allowed to fail.
- php: 7.1
env: DEPENDENCIES="dev"
- php: 7.2
Copy link
Collaborator

Choose a reason for hiding this comment

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

according to the symfony docs PR, you can drop this and just keep the bit about env to allow failures

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You mean:

allow_failures:
    env: DEPENDENCIES="dev"

?

Copy link
Collaborator

Choose a reason for hiding this comment

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

yes. see https://github.com/symfony/symfony-docs/pull/8701/files#diff-9d0d9156660f746e55727b52fcbf918dR214 - it will be good to see here if that works as expected ;-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We will not be able to know this with this PR as its 100% green ;)

Copy link
Collaborator

Choose a reason for hiding this comment

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

we can see it: when you click on the build, you see a travis page where the allowed to fail build are separated, even if they succeed.

the point of omitting the php version is that we don't care about the version and when php 7.3 comes out we would forget to adjust this line.

Copy link
Collaborator

@dbu dbu left a comment

Choose a reason for hiding this comment

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

very cool, thanks!

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.

Awesome

@Nyholm Nyholm merged commit a6b8755 into master Nov 30, 2017
@Nyholm Nyholm deleted the full-symfony-4-dependencies branch November 30, 2017 15:23
@fbourigault
Copy link
Contributor Author

🎉

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.

3 participants