From 6b37c60dab2a79b136ad03ef180cf21e2ff7e8b9 Mon Sep 17 00:00:00 2001 From: "R. Eric Wheeler" Date: Wed, 11 May 2022 09:54:51 -0700 Subject: [PATCH] Add tests for php v8.1, change name from olivebbs/map to olive/map --- .gitlab-ci.yml | 18 +++++++++++++++++- composer.json | 2 +- composer.lock | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a7e6fa4..9645199 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 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 fi - > @@ -55,6 +55,22 @@ test:8.0-without-ext-ds: image: php:8.0 script: - 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: - test - security diff --git a/composer.json b/composer.json index c9f5c2b..5d05433 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "olivebbs/map", + "name": "olive/map", "description": "Generic map for PHP", "type": "library", "require": { diff --git a/composer.lock b/composer.lock index 82b993a..c707e1a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a566fdaf6ff9f571687f26e3dc7a8a62", + "content-hash": "714ccb738ce62bf9d3fb5fef95cea1c1", "packages": [ { "name": "php-ds/php-ds",