From 552459d55e74996bd2d1b7330135447f88bb24e9 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sat, 23 Nov 2013 21:08:37 +0100 Subject: [PATCH] Only install composer dependencies in PHP 5.5 environment. There is currently no point in installing in any other environment. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8110adc8..d028aa13 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ env: before_script: - git clone git://github.com/zenovich/runkit.git && cd runkit && phpize && ./configure && make && make install && cd .. - echo "extension=runkit.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` - - composer install --dev --no-interaction + - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' ]; then composer install --dev --no-interaction; fi" script: - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' ]; then vendor/bin/phpcs -s --extensions=php --standard=tests/code_sniffer_ruleset.xml phpseclib/; fi"