Fixed event handling
[GitHub/WoltLab/WCF.git] / .travis.yml
index d8c793883f5814206a1e102bd7457fa07d4731e7..77a1fbf154202e2aed7738119952ec638c2a502a 100644 (file)
@@ -1,11 +1,11 @@
 language: php
 sudo: false
 php:
-  - 5.6
-  - 5.3
+  - 7.0
+  - 5.5
 before_install:
-  - pyrus install pear/PHP_CodeSniffer
+  - pear install pear/PHP_CodeSniffer
   - phpenv rehash
 script:
-  - find . -type f -name '*.php' |xargs -I file php -l file > /dev/null
+  - 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
   - phpcs -p --extensions=php --standard="`pwd`/CodeSniff/WCF" .