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

Also tests for PHP 7.1. #69

Closed
wants to merge 1 commit into from
Closed

Also tests for PHP 7.1. #69

wants to merge 1 commit into from

Conversation

lucasmichot
Copy link
Contributor

Also tests for PHP 7.1.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 72.944% when pulling 263d237 on lucasmichot:feature/master/php7-1 into a486851 on contentful:master.

1 similar comment
@coveralls
Copy link

coveralls commented Mar 28, 2017

Coverage Status

Coverage decreased (-0.1%) to 72.944% when pulling 263d237 on lucasmichot:feature/master/php7-1 into a486851 on contentful:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 73.08% when pulling f74fe10 on lucasmichot:feature/master/php7-1 into a486851 on contentful:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 73.08% when pulling f74fe10 on lucasmichot:feature/master/php7-1 into a486851 on contentful:master.

@coveralls
Copy link

coveralls commented Mar 28, 2017

Coverage Status

Coverage remained the same at 73.08% when pulling f74fe10 on lucasmichot:feature/master/php7-1 into a486851 on contentful:master.

@coveralls
Copy link

coveralls commented Mar 28, 2017

Coverage Status

Coverage remained the same at 73.08% when pulling 3011eb2 on lucasmichot:feature/master/php7-1 into a486851 on contentful:master.

Copy link
Contributor

@realityking realityking left a comment

Choose a reason for hiding this comment

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

Great to have more contributions @lucasmichot. PHP 7.1 I definitely something that needs to be added to the test matrix.

@@ -13,7 +13,8 @@
"require-dev": {
"php-vcr/phpunit-testlistener-vcr": "^1.1",
"jakub-onderka/php-parallel-lint": "^0.9.2",
"jakub-onderka/php-console-highlighter": "^0.3.2"
"jakub-onderka/php-console-highlighter": "^0.3.2",
"phpunit/phpunit": "~4.8 || ~5.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

Not a fan of this, I've had conflicts with dependencies I've considered integrating with the SDK before. Whatever can safely stay outside of composer should. (I realise that's a bit of a pain in a number of ways but pain > dependency conflicts)

Instead I'd modify this line to conditionally load a different version of phpunit. https://github.com/contentful/contentful.php/pull/69/files#diff-354f30a63fb0907d4ad57269548329e3L21

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The fact is that this dependency has actually been properly resolved by composer. see: https://travis-ci.org/contentful/contentful.php/builds/215916416

Also this allows any people to test locally PR they submit to this repo, without forcing them to install globally a specific phpunit version

Copy link
Contributor Author

@lucasmichot lucasmichot Mar 29, 2017

Choose a reason for hiding this comment

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

- composer self-update
- composer install
- travis_retry composer self-update
- travis_retry composer install
Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting, did you have problems with composer failing?

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 a common practice to avoid timeouts: https://docs.travis-ci.com/user/common-build-problems/

@realityking
Copy link
Contributor

I'll see what it takes to drop PHP 5.5, not sure if that's gonna work out though.

@realityking realityking added this to the 0.7 beta milestone Apr 7, 2017
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

3 participants