forked from pdir/social-feed-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
29 lines (26 loc) · 876 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
cache:
paths:
- vendor/
before_script:
# - cp ci/php.ini /usr/local/etc/php/conf.d/test.ini
- COMPOSER_MEMORY_LIMIT=-1 composer install -n --prefer-dist --no-progress --ignore-platform-reqs
php:7.4:
# This docker image comes with composer and ant.
image: jorge07/alpine-php:7.4-dev
script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --log-junit report.xml
- vendor/bin/ecs check src tests
artifacts:
when: always
reports:
junit: report.xml
php:8.0:
# This docker image comes with composer and ant.
image: jorge07/alpine-php:8.0-dev
script:
- vendor/bin/phpunit --configuration phpunit.xml --coverage-text --log-junit report.xml
- vendor/bin/ecs check src tests
artifacts:
when: always
reports:
junit: report.xml