Add tests for php v8.1, change name from olivebbs/map to olive/map
This commit is contained in:
parent
159f47d697
commit
6b37c60dab
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "olivebbs/map",
|
||||
"name": "olive/map",
|
||||
"description": "Generic map for PHP",
|
||||
"type": "library",
|
||||
"require": {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue