Skip to content

Commit

Permalink
Use PHP 8.1, test with PHP 8.0 and 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Programie committed May 26, 2022
1 parent f974d35 commit 295e5dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@ stages:
before_script:
- echo -n $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin $CI_REGISTRY

test:7.3:
test:8.0:
extends: .tests
image: php:7.3
image: php:8.0

test:7.4:
test:8.1:
extends: .tests
image: php:7.4
image: php:8.1

build_package:
extends: .php_build_install
stage: build
image: php:7.4
image: php:8.1
script: php composer.phar install --no-dev
dependencies:
- test:7.3
- test:7.4
- test:8.0
- test:8.1
artifacts:
paths:
- src/main
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN composer install --no-dev --ignore-platform-reqs && \
rm /app/composer.*


FROM php:7.4-apache
FROM php:8.1-apache

RUN apt-get update && \
apt-get install -y dnsutils && \
Expand Down

0 comments on commit 295e5dd

Please sign in to comment.