Skip to content

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Jul 10, 2017

No description provided.

.travis.yml Outdated
- $HOME/.composer/cache/files

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
2 participants