diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e55478382ffea056c4466154f8eebdd83a910135..c1d177700e3fe1ec774a8a6a599cd0ac01031bf9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,9 @@
-image: python:3.4
+image: python:3.5
 
 before_script:
   - python -V
   - pip install -e .
-  
+
 variables:
   PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip-cache"
 
diff --git a/bin/hektor b/bin/hektor
index e5216758a71aefe23513660971694bb856aab4f4..6e708f86caabd04bf1d1645166d47a8c0a6c68ef 100755
--- a/bin/hektor
+++ b/bin/hektor
@@ -5,6 +5,6 @@ import sys
 import hektor
 
 if __name__ == '__main__':
-    if sys.version_info < (3, 4):
+    if sys.version_info < (3, 5):
         sys.exit("At least Python 3.4 is required.")
     hektor.main()