diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 346e511178351b29df75f792360cefeeaae4bd57..2f5a6a2f488660187b202d697a47aabf35fda4d2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -56,8 +56,10 @@ test-centos7:
   - python3.6 manage.py test
   - coverage run --source='.' manage.py test
   - coverage report
+  - coverage html
   - 'mkdir -p ../public/$CI_COMMIT_REF_NAME'
-  - pip install sphinx sphinx-argparse sphinxcontrib.bibtex sphinx_rtd_theme
+  - 'mv html ../public/$CI_COMMIT_REF_NAME/coverage' 
+  - pip3.6 install sphinx sphinx-argparse sphinxcontrib.bibtex sphinx_rtd_theme
   - cd docs
   - make html
   - 'mv build/html/ ../../public/$CI_COMMIT_REF_NAME'