diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d93cd99a0df80a4d1d81ec102262eaab431cb8b3..347c193b507c97e47194dd6c5a81ff01a3102f1b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,15 +1,18 @@
-image: "python:3.7"
+image: "python:3.6"
 
 before_script:
+  - env
   - python --version
   - pip install pylint
 
 stages:
-  - lint
+  - linting
 
 linting:
+  stage: linting
   tags:
     - lint
-  stage: lint
   script:
-    - pylint --ignore=tests.py --max-line-length=120 *.py app
+    - pylint --ignore=tests.py --max-line-length=79 *.py app
+  only:
+    - merge_requests