mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-17 02:35:10 +00:00
10 lines
354 B
Bash
Executable File
10 lines
354 B
Bash
Executable File
#!/bin/sh
|
|
if [ `php -r "echo (int) version_compare(PHP_VERSION, '7.0', '<');"` = "1" ]
|
|
then
|
|
cp travis/composer.legacy.json composer.json
|
|
cp travis/composer.legacy.lock composer.lock
|
|
sed -i "s/include(__DIR__ . '\/PHPUnit_Framework_TestCase.php');//g" tests/PhpseclibTestCase.php
|
|
fi
|
|
composer self-update --no-interaction
|
|
composer install --no-interaction
|