language: php sudo: false php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 - hhvm before_script: - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then phpenv config-rm xdebug.ini; fi - travis_retry composer require "squizlabs/php_codesniffer=*" - git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF script: - find . -type f -name '*.php' -not -path "./WCF/*" -not -path "./vendor/*" |xargs -I file php -l file > /dev/null - vendor/bin/phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" --ignore="CryptLib/" --ignore="WCF/" --ignore="vendor/" .