diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8d6a22a6051d009be01331c04e7705da98f71661..867cd722dc7f63ac24a785f0a30131c39ab61477 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -42,21 +42,10 @@ test-python37:
   - python setup.py test
 
 pages:
-  image: centos:centos7
+  image: python:3.5
   stage: deploy
   script:
-  - yum install -y epel-release wget
-  - wget https://centos7.iuscommunity.org/ius-release.rpm
-  - rpm -Uvh ius-release*.rpm
-  - yum provides python3.5
-  - yum install -y python35u python35u-libs python35u-devel python35u-pip
-  - pip3.5 install -U pip
-  - pip3.5 install virtualenv
-  - virtualenv -p python3.5 venv
-  - . venv/bin/activate
-  - pip3.5 install -r requirements.txt
-  - pip3.5 install sphinx sphinx-argparse sphinxcontrib.bibtex sphinx_rtd_theme
-  - yum install -y make
+  - pip install sphinx sphinx-argparse sphinxcontrib.bibtex sphinx_rtd_theme
   - cd doc
   - make html
   - mv build/html/ ../public