diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9d8f5260c51506b69add673a14b0555fae021190..b1772e08c344b486f745f6c781a65a99fc712a78 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,9 +3,13 @@ image: python:latest
 # Functions that should be executed before the build script is run
 before_script:
   - python --version ; pip --version
+  - pip install virtualenv
+  - virtualenv venv
+  - source venv/bin/activate
+  - pip install -r requirements
 pages:
   script:
-    - python --version
+    - python main.py
   artifacts:
     paths:
       # The folder that contains the files to be exposed at the Page URL