title: Code coverage is always unknown in GitLab
body: <p>I'm trying to understand the GitLab Pipelines and after a few tries I was able to successfully automate my unit tests. Now I'm trying to add the code coverage badge into my project and/or readme file but it always seems to show <code>unknown</code>.</p>
  <p><strong>Files:</strong></p>
  <pre><code>+ application
  + system
  - unit-tests
    - tests
        UtilTest.php
      autoload.php
      phpunit
    .gitignore
    .gitlab-ci.yml
    .htaccess
    index.php
    readme.md
  </code></pre>
  <p><strong>.gitlab-ci.yml:</strong></p>
  <pre><code>image: php:5.6
  
  stages:
    - test
  
  app:unit-tests:
    stage: test
    script:
      - php ./unit-tests/phpunit --bootstrap ./unit-tests/autoload.php ./unit-tests/tests
    coverage: '/Code Coverage: \d+\.\d+/'
  </code></pre>
  <p>On the project's <code>Test coverage parsing</code> section I have this set up:</p>
  <p><a href="https://i.stack.imgur.com/JOMjS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JOMjS.png" alt="enter image description here" /></a></p>