Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

OPENEUROPA-1628: Add on Drone the php v7.2 with the matrix. #18

Merged
merged 4 commits into from
Mar 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ workspace:

services:
web:
image: fpfis/httpd-php-dev:7.1
image: fpfis/httpd-php-dev:${PHP_VERSION=7.1}
environment:
- DOCUMENT_ROOT=/test/openeuropa-site
- COMPOSER_CACHE_DIR=/cache/composer
Expand All @@ -22,7 +22,7 @@ pipeline:
# Download all dependencies.
composer-install:
group: prepare
image: fpfis/httpd-php-dev:7.1
image: fpfis/httpd-php-dev:${PHP_VERSION=7.1}
volumes:
- /cache:/cache
commands:
Expand All @@ -37,13 +37,18 @@ pipeline:
# Run grumphp tests.
test-grumphp:
group: test
image: fpfis/httpd-php-dev:7.1
image: fpfis/httpd-php-dev:${PHP_VERSION=7.1}
commands:
- ./vendor/bin/grumphp run

# Run behat tests.
test-behat:
group: test
image: fpfis/httpd-php-dev:7.1
image: fpfis/httpd-php-dev:${PHP_VERSION=7.1}
commands:
- ./vendor/bin/behat --strict

matrix:
PHP_VERSION:
- 7.1
- 7.2