diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a0a69917fac9f4d88b9f0e2ab6c2d3a658440434..4bafc9302d8eb67cc2382250c37d50f5e8fd0f40 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,8 @@
-test:
-  script:
+before_script:
   - module add  python/3.6.1-2-anaconda
+  - pip install pytest-pythonpath
   - cd ..
+
+test:
+  script:
   - pytest