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

Commit

Permalink
OPENEUROPA-1628: Add on Drone the php v7.2 with the matrix. (#18)
Browse files Browse the repository at this point in the history
* Add on Drone the php v7.2 with the matrix.
  • Loading branch information
voidtek authored Mar 11, 2019
1 parent 943037c commit 3dfbdb0
Showing 1 changed file with 9 additions and 4 deletions.
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

0 comments on commit 3dfbdb0

Please sign in to comment.