Answer the question
In order to leave comments, you need to log in
Gitlab CI locally. Mistake?
I have a project and I want to do CI in GitLab, but when I try to run unit tests locally , I get an gitlab-runner exec docker test
error:
.gitlab-ci.yml:
#
# https://gitlab.com/gitlab-org/gitlab/tree/master/lib/gitlab/ci/templates/PHP.gitlab-ci.yml
#
image: php:7.2
# Cache libraries in between jobs
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- vendor/
before_script:
- docker-php-ext-install exif
# Install and run Composer
- curl --show-error --silent "https://getcomposer.org/installer" | php
- php composer.phar install
test:
script:
- vendor/bin/phpunit --configuration phpunit.xml.dist --coverage-text --colors=never
Answer the question
In order to leave comments, you need to log in
What do you not understand about the sentence "Install or enable PHP's gd extension"? You already have exif installed, add the rest of the extensions by analogy.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question