Merge pull request #1956 from schaandr/patch-1
[GitHub/WoltLab/WCF.git] / .travis.yml
1 language: php
2 sudo: false
3 php:
4 - 5.6
5 - 5.3
6 before_install:
7 - pyrus install pear/PHP_CodeSniffer
8 - phpenv rehash
9 script:
10 - find . -type f -name '*.php' -print0 |xargs -0 -I file -P 4 php -l file > /dev/null
11 - phpcs -p --extensions=php --standard="`pwd`/CodeSniff/WCF" .