1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-26 20:35:21 +01:00

Update composer before using it. Fixes openssl for https error.

This commit is contained in:
Andreas Fischer 2014-04-12 06:02:02 +02:00
parent 86d7c6830c
commit ca59f278da
2 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,7 @@ env:
before_script:
- travis/setup-secure-shell.sh
- sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then travis/install-php-extensions.sh; fi"
- sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.2' ]; then composer install --dev --no-interaction; fi"
- sh -c "if [ '$TRAVIS_PHP_VERSION' != '5.2' ]; then travis/setup-composer.sh; fi"
script:
- sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.5' ]; then vendor/bin/phpcs -s --extensions=php --standard=build/code-sniffer-ruleset.xml phpseclib/; fi"

3
travis/setup-composer.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
composer self-update --no-interaction
composer install --no-interaction