language: php branches: # Only test the master branch and SemVer tags. only: - master - /^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/ php: - 7.0 - 5.6 - 5.5 - 5.4 sudo: false cache: directories: - vendor - $HOME/.composer/cache before_script: - composer install script: - vendor/bin/phpunit - vendor/bin/phpcs --standard=PSR2 -n src after_success: - travis_retry php vendor/bin/coveralls -v