CI
This commit is contained in:
parent
9a0e925f6e
commit
49ceddbfb9
18
.gitlab-ci.yml
Normal file
18
.gitlab-ci.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user