Fixed Gitlab CI not correctly processing PHPUnit
This commit is contained in:
parent
702f2e8ba5
commit
dbbe6c9d16
|
@ -24,7 +24,7 @@ test:7.1:
|
||||||
stage: test
|
stage: test
|
||||||
image: php:7.1
|
image: php:7.1
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit -c tests/phpunit.xml
|
- vendor/bin/phpunit -c test/phpunit.xml
|
||||||
cache:
|
cache:
|
||||||
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
|
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
|
||||||
paths:
|
paths:
|
||||||
|
@ -34,7 +34,7 @@ test:7.2:
|
||||||
stage: test
|
stage: test
|
||||||
image: php:7.2
|
image: php:7.2
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit -c tests/phpunit.xml
|
- vendor/bin/phpunit -c test/phpunit.xml
|
||||||
cache:
|
cache:
|
||||||
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
|
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
|
||||||
paths:
|
paths:
|
||||||
|
@ -44,7 +44,7 @@ test:7.3:
|
||||||
stage: test
|
stage: test
|
||||||
image: php:7.3
|
image: php:7.3
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit -c tests/phpunit.xml
|
- vendor/bin/phpunit -c test/phpunit.xml
|
||||||
cache:
|
cache:
|
||||||
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
|
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
|
||||||
paths:
|
paths:
|
||||||
|
@ -56,7 +56,7 @@ test:coverage:
|
||||||
script:
|
script:
|
||||||
- pecl install xdebug
|
- pecl install xdebug
|
||||||
- docker-php-ext-enable xdebug
|
- docker-php-ext-enable xdebug
|
||||||
- vendor/bin/phpunit -c tests/phpunit.xml --coverage-text
|
- vendor/bin/phpunit -c test/phpunit.xml --coverage-text
|
||||||
cache:
|
cache:
|
||||||
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
|
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
|
||||||
paths:
|
paths:
|
||||||
|
@ -70,7 +70,7 @@ release:
|
||||||
script:
|
script:
|
||||||
- pecl install xdebug
|
- pecl install xdebug
|
||||||
- docker-php-ext-enable xdebug
|
- docker-php-ext-enable xdebug
|
||||||
- vendor/bin/phpunit -c tests/phpunit.xml --coverage-text
|
- vendor/bin/phpunit -c test/phpunit.xml --coverage-text
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
|
name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in New Issue