Testing Multiple PHP Environments

php
multiple-versions

#1

I have an opensource project and I want to be able to test the library is supported on multiple php versions (5.6, 7.0 and 7.1)

What would be the best way to structure the circle.yml file so tests must pass on all supported versions?


Multiple PHP Environments
#2

At the moment, this isn’t a supported use case with 2.0. We have a team building out features for this, but that’s still in its early stages.


#3

You can set up your Docker image to switch between versions to run your tests. Since you have fine-grain control over all the steps running, this is possible. Tedious, though.


#4