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

Fix Travis build #250

Merged
merged 1 commit into from
Aug 24, 2018
Merged

Fix Travis build #250

merged 1 commit into from
Aug 24, 2018

Conversation

julienbourdeau
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Related Issue Fix #...
Need Doc update no

Describe your change

First, Travis wasn't using a different prefix for each build, so all test where using the same indices. Of course, everything failed. I think it's because before, I limited concurrent build to 1, but I probably changed it later and didn't realize it broke.

With PHPUnit < 6, environment variables are not set properly in $_ENV for some obscure reason, so I override them in setUp.

Doctrine is currently splitting the common package into 3 separate ones, some deprecation notice appeared until we can migrate doctrine/common and keep BC with PHP 5.6 and Symfony 3.4, we allow deprecation notice in PHPUnit.
doctrine/common#826

Note: We could remove tests on 7.0 and 7.1 🤔

What problem is this fixing?

Fix the Travis build 🎉

@julienbourdeau julienbourdeau merged commit 4933d66 into master Aug 24, 2018
@julienbourdeau julienbourdeau deleted the debug/travis branch August 24, 2018 15:05
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.

1 participant