Skip to content

Commit 295e5dd

Browse files
committed
Use PHP 8.1, test with PHP 8.0 and 8.1
1 parent f974d35 commit 295e5dd

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.gitlab-ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,22 @@ stages:
3131
before_script:
3232
- echo -n $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY
3333

34-
test:7.3:
34+
test:8.0:
3535
extends: .tests
36-
image: php:7.3
36+
image: php:8.0
3737

38-
test:7.4:
38+
test:8.1:
3939
extends: .tests
40-
image: php:7.4
40+
image: php:8.1
4141

4242
build_package:
4343
extends: .php_build_install
4444
stage: build
45-
image: php:7.4
45+
image: php:8.1
4646
script: php composer.phar install --no-dev
4747
dependencies:
48-
- test:7.3
49-
- test:7.4
48+
- test:8.0
49+
- test:8.1
5050
artifacts:
5151
paths:
5252
- src/main

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN composer install --no-dev --ignore-platform-reqs && \
1010
rm /app/composer.*
1111

1212

13-
FROM php:7.4-apache
13+
FROM php:8.1-apache
1414

1515
RUN apt-get update && \
1616
apt-get install -y dnsutils && \

0 commit comments

Comments
 (0)