diff options
author | Simon Holywell <[email protected]> | 2018-01-02 15:09:06 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2018-01-02 15:09:06 +1000 |
commit | 934bf6d30b49857e2370a2c53a6bee380f96d603 (patch) | |
tree | 82a8830bd555d4a2508d5c7b649ca453c54a7100 | |
parent | bf5d61fc2c636da64c8d88bb42de391e585efe02 (diff) |
Update .travis.yml
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index e9c2053..d0034b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,8 @@ matrix: dist: precise - php: 5.3 dist: precise -install: "if [ `command -v composer` ]; then composer install; else curl -sSfL https://phar.phpunit.de/phpunit-4.phar -o ~/phpunit.phar; fi" +install: | + command -v composer; if [ `command -v composer` ]; then composer install; else curl -sSfL https://phar.phpunit.de/phpunit-4.phar -o ~/phpunit.phar; fi script: | if [ `command -v composer` ]; then X="composer run-script test --"; else X="~/phpunit.phar"; fi; $X --colors --coverage-text |