Commit 903ebb04 authored by Stanislav Shupilkin's avatar Stanislav Shupilkin

Add arg PHP-VERSION in Dockerfile

parent 1d2807b4
FROM php:cli
ARG PHP_VERSION
FROM php:${PHP_VERSION}-cli
RUN pecl install xdebug
......
......@@ -10,6 +10,8 @@ services:
volumes:
- .:/code
working_dir: /code
environment:
PHP_VERSION: ${TRAVIS_PHP_VERSION}
command: bash -c "composer install --prefer-source --no-interaction && php ./vendor/bin/phpunit"
depends_on:
- mysql
......
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