Skip to content

Add test for Artax. #30

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

Closed
wants to merge 4 commits into from
Closed

Add test for Artax. #30

wants to merge 4 commits into from

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Jul 10, 2017

No description provided.

.travis.yml Outdated
@@ -10,6 +10,7 @@ php:
5.5
Copy link
Contributor

Choose a reason for hiding this comment

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

Artax is PHP 7+ only, so either you need to update everything to test on 7.0 or just modify the PHP version for Artax.

Copy link
Member Author

Choose a reason for hiding this comment

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

We cannot modify the PHP version on the Artax adapter because amphp/artax is php 7.0 only: https://github.com/amphp/artax/blob/master/composer.json

Lets run all the tests on PHP7.

Copy link
Contributor

Choose a reason for hiding this comment

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

Right, all amphp/* packages are 7.0 only, because we require features like return for generators. I didn't mean changing artax-adapter, but the PHP version used only for that, e.g. with matrix + include: https://docs.travis-ci.com/user/customizing-the-build#Explicitly-included-jobs-inherit-the-first-value-in-the-array

Copy link
Contributor

Choose a reason for hiding this comment

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

But testing everything on 7.0 is also fine.

@kelunik
Copy link
Contributor

kelunik commented Jul 10, 2017

The changed PHP version installs PHPUnit 6 now, which makes Guzzle5 tests fail.

@Nyholm
Copy link
Member Author

Nyholm commented Jul 10, 2017

Okey. thanks!

@Nyholm Nyholm closed this Jul 10, 2017
@kelunik
Copy link
Contributor

kelunik commented Jul 10, 2017

@Nyholm I think #32 is better, it keeps executing the tests with the lower version for all adapters except Artax.

@Nyholm Nyholm deleted the Nyholm-patch-1 branch July 10, 2017 14:55
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.

2 participants