Attempt to make travis tests run faster
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 30 May 2016 20:55:23 +0000 (22:55 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 30 May 2016 20:55:41 +0000 (22:55 +0200)
.travis.yml

index d8c793883f5814206a1e102bd7457fa07d4731e7..fa826c2e9f8d9a9d904d9d10e5f5e13895a7be8e 100644 (file)
@@ -7,5 +7,5 @@ before_install:
   - pyrus 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' -print0 |xargs -0 -I file -P 4 php -l file > /dev/null
   - phpcs -p --extensions=php --standard="`pwd`/CodeSniff/WCF" .