Prepare PHPUnit8 for stable 18+

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2019-11-22 11:32:25 +01:00
Родитель e4307d136e
Коммит 123470f962
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 7076EA9751AACDDA
3 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -90,8 +90,12 @@ cd ..
if [ "$CORE_BRANCH" == "stable13" -o "$CORE_BRANCH" == "stable12" -o "$CORE_BRANCH" == "stable11" -o "$CORE_BRANCH" == "stable10" -o "$CORE_BRANCH" == "stable9" ]; then
wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/composer-phpunit5.json
mv composer-phpunit5.json composer.json
elif [ "$CORE_BRANCH" == "stable17" -o "$CORE_BRANCH" == "stable16" -o "$CORE_BRANCH" == "stable15" -o "$CORE_BRANCH" == "stable14" ]; then
wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/composer-phpunit6.json
mv composer-phpunit6.json composer.json
else
wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/composer.json
wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/composer-phpunit8.json
mv composer-phpunit8.json composer.json
fi
composer install
export PATH="$PWD/vendor/bin:$PATH"

Просмотреть файл

5
composer-phpunit8.json Normal file
Просмотреть файл

@ -0,0 +1,5 @@
{
"require": {
"phpunit/phpunit": "^8.0"
}
}