mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-05 04:57:53 +00:00
Only install composer dependencies in PHP 5.5 environment.
There is currently no point in installing in any other environment.
This commit is contained in:
parent
e6be743fe2
commit
552459d55e
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user