diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e955b4de351b4d4fe8f92f2b6be52f668f51be2b..7617e71b4b9b6324ede9d41553cfef2ea789f679 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,16 +13,16 @@ testing:
   stage: test
   allow_failure: true
   when: on_success
-only:
-    - master
-coverage: '/coverage: \d+.\d+% of statements/'
-script:
-    - Rscript -e 'install.packages("DT")'
-    - Rscript -e 'install.packages("covr")'
-    - Rscript -e 'covr::gitlab(quiet = FALSE)'
-artifacts:
-    paths:
-      - public
+  only:
+      - master
+  coverage: '/coverage: \d+.\d+% of statements/'
+  script:
+      - Rscript -e 'install.packages("DT")'
+      - Rscript -e 'install.packages("covr")'
+      - Rscript -e 'covr::gitlab(quiet = FALSE)'
+  artifacts:
+      paths:
+        - public
 # To produce a code coverage report as a GitLab page see
 # https://about.gitlab.com/2016/11/03/publish-code-coverage-report-with-gitlab-pages/
 pages: