Skip to content

Commit

Permalink
Merge pull request #108 from openeuropa/OPENEUROPA-2943
Browse files Browse the repository at this point in the history
OPENEUROPA-2943: Upgrade to PHP 7.3.
  • Loading branch information
ademarco authored Mar 30, 2020
2 parents 35b4a2c + 51bff5f commit f570bf3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
17 changes: 10 additions & 7 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-ci:7.1
image: fpfis/httpd-php-ci:${PHP_VERSION}
environment:
- DOCUMENT_ROOT=/test/oe_multilingual
mysql:
Expand All @@ -23,15 +23,15 @@ services:
pipeline:
composer-install:
group: prepare
image: fpfis/httpd-php-ci:7.1
image: fpfis/httpd-php-ci:${PHP_VERSION}
volumes:
- /cache:/cache
commands:
- composer install --ansi --no-suggest --no-progress

composer-update-lowest:
group: prepare-update
image: fpfis/httpd-php-ci:7.1
image: fpfis/httpd-php-ci:${PHP_VERSION}
volumes:
- /cache:/cache
commands:
Expand All @@ -41,29 +41,32 @@ pipeline:
COMPOSER_BOUNDARY: lowest

site-install:
image: fpfis/httpd-php-ci:7.1
image: fpfis/httpd-php-ci:${PHP_VERSION}
commands:
- ./vendor/bin/run drupal:site-install

grumphp:
group: test
image: fpfis/httpd-php-ci:7.1
image: fpfis/httpd-php-ci:${PHP_VERSION}
commands:
- ./vendor/bin/grumphp run

phpunit:
group: test
image: fpfis/httpd-php-ci:7.1
image: fpfis/httpd-php-ci:${PHP_VERSION}
commands:
- ./vendor/bin/phpunit

behat:
group: test
image: fpfis/httpd-php-ci:7.1
image: fpfis/httpd-php-ci:${PHP_VERSION}
commands:
- ./vendor/bin/behat --strict

matrix:
COMPOSER_BOUNDARY:
- lowest
- highest
PHP_VERSION:
- 7.2
- 7.3
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.1",
"php": ">=7.2",
"drupal/core": "^8.7",
"drupal/language_selection_page": "2.3",
"drupal/pathauto": "^1.6"
Expand All @@ -21,6 +21,7 @@
"drupal/drupal-extension": "~4.0",
"drupal/redirect": "^1.4",
"drush/drush": "~9.0@stable",
"guzzlehttp/guzzle": "~6.3",
"openeuropa/behat-transformation-context": "~0.1",
"openeuropa/code-review": "~1.0@beta",
"openeuropa/drupal-core-require-dev": "^8.7",
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2'
services:
web:
image: fpfis/httpd-php-dev:7.1
image: fpfis/httpd-php-dev:7.3
working_dir: /var/www/html
ports:
- 8080:8080
Expand Down

0 comments on commit f570bf3

Please sign in to comment.