Add tests for php v8.1, change name from olivebbs/map to olive/map

This commit is contained in:
R. Eric Wheeler 2022-05-11 09:54:51 -07:00
parent 159f47d697
commit 6b37c60dab
3 changed files with 19 additions and 3 deletions

View File

@ -15,7 +15,7 @@ before_script:
apt-get update -yqq && apt-get upgrade -yqq && apt-get install -yqq git libzip-dev unzip zip libpcre3-dev && docker-php-ext-install zip && pecl install xdebug && docker-php-ext-enable xdebug apt-get update -yqq && apt-get upgrade -yqq && apt-get install -yqq git libzip-dev unzip zip libpcre3-dev && docker-php-ext-install zip && pecl install xdebug && docker-php-ext-enable xdebug
fi fi
- > - >
if [ "$CI_JOB_NAME" == "test:7.4" ] || [ "$CI_JOB_NAME" == "test:8.0" ]; then if [ "$CI_JOB_NAME" == "test:7.4" ] || [ "$CI_JOB_NAME" == "test:8.0" ] || [ "$CI_JOB_NAME" == "test:8.1" ]; then
pecl install ds && docker-php-ext-enable ds pecl install ds && docker-php-ext-enable ds
fi fi
- > - >
@ -55,6 +55,22 @@ test:8.0-without-ext-ds:
image: php:8.0 image: php:8.0
script: script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never - vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
test:8.1:
only:
- branches
tags:
- default
image: php:8.1
script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
test:8.1-without-ext-ds:
only:
- branches
tags:
- default
image: php:8.1
script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --colors=never
stages: stages:
- test - test
- security - security

View File

@ -1,5 +1,5 @@
{ {
"name": "olivebbs/map", "name": "olive/map",
"description": "Generic map for PHP", "description": "Generic map for PHP",
"type": "library", "type": "library",
"require": { "require": {

2
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "a566fdaf6ff9f571687f26e3dc7a8a62", "content-hash": "714ccb738ce62bf9d3fb5fef95cea1c1",
"packages": [ "packages": [
{ {
"name": "php-ds/php-ds", "name": "php-ds/php-ds",