Commit 2a64b70e authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

gitlab-ci: test phpunit coverage

parent 9f46ded1
Loading
Loading
Loading
Loading
+2 −2
Changes for .gitlab-ci.yml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -15,11 +15,11 @@ 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' --testdox-html /tmp/testdox.html
    - php vendor/bin/phpunit --testsuite "unit" --filter 'ModuleOptions' --coverage-text > /tmp/coverage_${CI_COMMIT_REF_SLUG}.txt
  artifacts:
    paths:
      - /tmp/testdox.html
      - /tmp/logfile.txt
      - /tmp/coverage_${CI_COMMIT_REF_SLUG}.txt

update-satis:
  stage: publish