Commit 92ba5ca2 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

gitlab-ci: test phpunit coverage

parent 2a64b70e
Loading
Loading
Loading
Loading
+2 −3
Changes for .gitlab-ci.yml: 2 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -15,11 +15,10 @@ unit-tests:
  script:
    - echo 'zend_extension=xdebug.so' > /etc/php/7.0/cli/conf.d/xdebug.ini
    - composer install --no-interaction --no-suggest --no-progress
    - php vendor/bin/phpunit --testsuite "unit" --filter 'ModuleOptions' --coverage-text > /tmp/coverage_${CI_COMMIT_REF_SLUG}.txt
    - php vendor/bin/phpunit --testsuite "unit" --filter 'ModuleOptions' --coverage-text > /tmp/coverage.txt
  artifacts:
    paths:
      - /tmp/testdox.html
      - /tmp/coverage_${CI_COMMIT_REF_SLUG}.txt
      - /tmp/coverage.txt

update-satis:
  stage: publish