-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Changes in travis build #1553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes in travis build #1553
Conversation
@jenssegers, can you review, please? |
docker-compose.yml
Outdated
@@ -10,6 +9,8 @@ services: | |||
volumes: | |||
- .:/code | |||
working_dir: /code | |||
environment: | |||
PHP_VERSION: ${PHP_VERSION} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be a fixed value I guess, or at least provide a default value. Could you change this?
Great job on these changes btw!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, i can set default value, but env variable PHP_VERSION
set in travis script build
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also in Docker file i popose operation installing composer to replace on this construction
FROM composer as composer-build #official docker image with composer (https://github.com/composer/docker/blob/master/1.6/Dockerfile)
COPY --from=composer-build /usr/bin/composer /usr/local/bin/composer
@jenssegers, can you review changes? |
Great work! |
Changes in travis build
On my opinion we don't need execute sed command in
.travis.yml
because Docker engine has arguments in Dockerfile and we can use itDockerfile
.travis.yml
from env variableTRAVIS_PHP_VERSION
zlib1g-dev
replaced frompecl install
toapt-get install