[ticket/10981] Added check for PHP version before running composer

PHPBB3-10981
This commit is contained in:
Fyorl 2012-07-16 18:45:10 +01:00
parent 74074994ba
commit aa2f7bcc2c

View file

@ -16,7 +16,7 @@ before_script:
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.2' ]; then pear install --force phpunit/DbUnit; else pyrus install --force phpunit/DbUnit; fi"
- phpenv rehash
- cd phpBB
- php ../composer.phar install --dev
- sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.2' ]; then php ../composer.phar install --dev; fi"
- cd ..
script: