Commit 809e1cb0 authored by John Long's avatar John Long

CI: Switch to adduc/ubuntu-php for builds, add PHP 7.3

parent 3adf0d65
php:7.1:
image: adduc/alpine-php:71-build
image: adduc/ubuntu-php:7.1-build
cache:
paths:
- dependencies/vendor
......@@ -14,7 +14,22 @@ php:7.1:
- artifacts
php:7.2:
image: adduc/alpine-php:72-build
image: adduc/ubuntu-php:7.2-build
cache:
paths:
- dependencies/vendor
- dependencies/node_modules
script:
- composer ci -d dependencies
# Needed because artifacts can't be excluded
- rsync -rtl ./ artifacts/ --exclude=.git --exclude=tests --exclude=node_modules --exclude=cache --exclude=.hg
- composer install -d artifacts/dependencies --no-dev --classmap-authoritative
artifacts:
paths:
- artifacts
php:7.3:
image: adduc/ubuntu-php:7.3-build
cache:
paths:
- dependencies/vendor
......@@ -29,7 +44,7 @@ php:7.2:
- artifacts
deploy:prod:
image: adduc/alpine-php:71-build
image: adduc/ubuntu-php:7.3-build
stage: deploy
script:
- eval $(ssh-agent -s)
......@@ -48,7 +63,7 @@ deploy:prod:
only:
- master
dependencies:
- php:7.2
- php:7.3
variables:
GIT_STRATEGY: none
environment:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment