diff options
author | Olivier Paroz <github@oparoz.com> | 2015-08-03 19:15:51 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-08-03 19:15:51 +0300 |
commit | b8109e3373b940e1f0bf6b8629b77d549f9e4d70 (patch) | |
tree | 6a33ac365b36dcc0634f28372cb5a5cb263dc727 /.travis.yml | |
parent | 0982678dab2a18ccc52140ad3dd8825a79700c50 (diff) |
Can't use bash equality with sh
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 73838987..6fdf8f56 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ script: # Test lint - cd apps/$APP_NAME - 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" + - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.4' ]; then find . -name \*.php -exec php -l "{}" \;; fi" # Run phpunit tests - phpunit -c phpunit.xml |