This commit is contained in:
Jerry Yan 2020-12-18 18:13:23 +08:00
parent 9a0e925f6e
commit 49ceddbfb9

18
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,18 @@
stages:
- test
unitTest:
image: edbizarro/gitlab-ci-pipeline-php:7.4-alpine
before_script:
- composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
- composer install --prefer-dist --no-ansi --no-interaction --no-progress
stage: test
cache:
paths:
- vendor
script:
- ./vendor/bin/phpunit -v --coverage-text --colors=never --log-junit phpunit-report.xml
artifacts:
reports:
junit:
- phpunit-report.xml