We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d2807b commit 903ebb0Copy full SHA for 903ebb0
Dockerfile
@@ -1,4 +1,6 @@
1
-FROM php:cli
+ARG PHP_VERSION
2
+
3
+FROM php:${PHP_VERSION}-cli
4
5
RUN pecl install xdebug
6
docker-compose.yml
@@ -10,6 +10,8 @@ services:
10
volumes:
11
- .:/code
12
working_dir: /code
13
+ environment:
14
+ PHP_VERSION: ${TRAVIS_PHP_VERSION}
15
command: bash -c "composer install --prefer-source --no-interaction && php ./vendor/bin/phpunit"
16
depends_on:
17
- mysql
0 commit comments