Merge branch '2.1' into 3.0
[GitHub/WoltLab/WCF.git] / .travis.yml
1 language: php
2 sudo: false
3 php:
4 - 7.0
5 - 5.5
6 before_install:
7 - export PATH="$PATH:$(composer global config bin-dir --absolute)"
8 - composer global require "squizlabs/php_codesniffer=3.*"
9 - phpenv rehash
10 script:
11 - find . -type f -name '*.php' -not -path './wcfsetup/install/files/lib/system/api/composer/autoload_static.php' -print0 |xargs -0 -I file -P 4 php -l file > /dev/null
12 - phpcs -p --extensions=php --standard="`pwd`/CodeSniff/WCF" .