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:
parent
86d7c6830c
commit
ca59f278da
@ -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
3
travis/setup-composer.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
composer self-update --no-interaction
|
||||
composer install --no-interaction
|
Loading…
Reference in New Issue
Block a user