-
Notifications
You must be signed in to change notification settings - Fork 9
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
Conversation
.travis.yml
Outdated
@@ -10,6 +10,7 @@ php: | |||
5.5 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
The changed PHP version installs PHPUnit 6 now, which makes Guzzle5 tests fail. |
Okey. thanks! |
No description provided.