diff options
author | Olivier Paroz <github@oparoz.com> | 2015-08-03 19:08:47 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-08-03 19:08:47 +0300 |
commit | 0982678dab2a18ccc52140ad3dd8825a79700c50 (patch) | |
tree | 7b1238cb2753eb9f13dcfdf7368f80de5a21a380 /.travis.yml | |
parent | d3f1fead4f3c9c7095ed9d4157ba71fbf9becc33 (diff) |
We're forced to use the slow PHP lint on PHP 5.4
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 73d1d41c..73838987 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,7 +30,8 @@ before_install: script: # Test lint - cd apps/$APP_NAME - - find . -name \*.php -print0 | xargs -0 -n 1 -P 4 php -l + - sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.4' ]; then find . -name \*.php -print0 | xargs -0 -n 1 -P 4 php -l; fi" + - sh -c "if [ '$TRAVIS_PHP_VERSION' == '5.4' ]; then find . -name \*.php -exec php -l "{}" \;; fi" # Run phpunit tests - phpunit -c phpunit.xml |