It seems that the Travis CI build uses the Xenial dist by default, not Trusty.
To support the php-5.x versions correctly, adding the dist: trusty in .travis.yml setting is necessary.
It seems that the Travis CI build uses the Xenial dist by default, not Trusty.
To support the php-5.x versions correctly, adding the dist: trusty in .travis.yml setting is necessary.