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

Use fixed php version #231

Merged
merged 1 commit into from
Feb 3, 2017
Merged

Conversation

greg0ire
Copy link
Contributor

@greg0ire greg0ire commented Feb 3, 2017

We don't want to use phpunit 6 yet.

@@ -5,9 +5,9 @@ mkdir --parents "${HOME}/bin"

# PHPUnit install
if [ ${TRAVIS_PHP_VERSION} '<' '5.6' ]; then
PHPUNIT_PHAR=phpunit-old.phar
PHPUNIT_PHAR=phpuniti-4.8.9.phar
Copy link
Member

@core23 core23 Feb 3, 2017

Choose a reason for hiding this comment

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

Do we need the patch level? phpunit-4.8.phar should work too

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not listed, but indeed, there's a nice 302.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

else
PHPUNIT_PHAR=phpunit.phar
PHPUNIT_PHAR=phpunit-5.7.9.phar
Copy link
Member

Choose a reason for hiding this comment

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

Same here

@core23
Copy link
Member

core23 commented Feb 3, 2017

What about adding phpunit as a dependency #197 ...?

@greg0ire greg0ire force-pushed the fixes/use-fixed-phpunit-versions branch from 0f97e8d to ac55376 Compare February 3, 2017 16:06
@greg0ire
Copy link
Contributor Author

greg0ire commented Feb 3, 2017

You mean using simple-phpunit? I thought about it, but right now I can't (too long), so here is a quick fix before I look into it.

@@ -5,9 +5,9 @@ mkdir --parents "${HOME}/bin"

# PHPUnit install
if [ ${TRAVIS_PHP_VERSION} '<' '5.6' ]; then
PHPUNIT_PHAR=phpunit-old.phar
PHPUNIT_PHAR=phpuniti-4.8.phar
Copy link
Member

Choose a reason for hiding this comment

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

Typo here: phpuniti

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch!

We don't want to use phpunit 6 yet.
@greg0ire greg0ire force-pushed the fixes/use-fixed-phpunit-versions branch from ac55376 to 5bd119f Compare February 3, 2017 16:55
@soullivaneuh soullivaneuh merged commit 7b86c56 into master Feb 3, 2017
@soullivaneuh soullivaneuh deleted the fixes/use-fixed-phpunit-versions branch February 3, 2017 17:04
@core23
Copy link
Member

core23 commented Feb 3, 2017

The commit message was wrong. It's not about php versions, but phpunit versions.

@greg0ire
Copy link
Contributor Author

greg0ire commented Feb 3, 2017

I'm very tired, sorry…

@greg0ire
Copy link
Contributor Author

greg0ire commented Feb 3, 2017

I hope there are no other fuck ups…

@core23
Copy link
Member

core23 commented Feb 3, 2017

Didn't see that either...

@greg0ire
Copy link
Contributor Author

greg0ire commented Feb 3, 2017

I'm trying out simple-phpunit now if anyone's interested sonata-project/SonataAdminBundle#4307

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.

None yet

4 participants