Fixed Gitlab CI not correctly processing PHPUnit

This commit is contained in:
Abel Hoogeveen 2019-03-15 17:33:36 +01:00
parent 702f2e8ba5
commit dbbe6c9d16
No known key found for this signature in database
GPG Key ID: 96C2234920BF4292
1 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ test:7.1:
stage: test
image: php:7.1
script:
- vendor/bin/phpunit -c tests/phpunit.xml
- vendor/bin/phpunit -c test/phpunit.xml
cache:
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
paths:
@ -34,7 +34,7 @@ test:7.2:
stage: test
image: php:7.2
script:
- vendor/bin/phpunit -c tests/phpunit.xml
- vendor/bin/phpunit -c test/phpunit.xml
cache:
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
paths:
@ -44,7 +44,7 @@ test:7.3:
stage: test
image: php:7.3
script:
- vendor/bin/phpunit -c tests/phpunit.xml
- vendor/bin/phpunit -c test/phpunit.xml
cache:
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
paths:
@ -56,7 +56,7 @@ test:coverage:
script:
- pecl install 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:
key: "$CI_BUILD_REF_$CI_BUILD_REF_NAME"
paths:
@ -70,7 +70,7 @@ release:
script:
- pecl install 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:
name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
paths: