Commit 9b45b2da authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

gitlab-ci: test phpunit coverage

parent ff17bf86
Loading
Loading
Loading
Loading
+5 −1
Changes for .gitlab-ci.yml: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -15,7 +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' --coverage-text --colors=never
    - php vendor/bin/phpunit --testsuite "unit" --filter 'ModuleOptions' --testdox-html /tmp/testdox.html --coverage-text > /tmp/logfile.txt
  artifacts:
    paths:
      - /tmp/testdox.html
      - /tmp/logfile.txt

update-satis:
  stage: publish