In fact, you can install phing by adding it to the
before_install section of your
.travis.yml; so the file could look something like this:
language: php php: - "5.4" before_install: - pear channel-discover pear.phing.info - pear install phing/phing - phpenv rehash script: - phing -f src/build.xml phplint
rehash is the magic sauce that makes your path pick up phing and so be able to run the command in the
script section. I expect phing to be quite a common requirements for PHP projects, so it's good to know that it can easily be used with TravisCI.