diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d77662fa1d8a7042fe0eb39df95dbcfbfe3ad633..e955b4de351b4d4fe8f92f2b6be52f668f51be2b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,25 +4,25 @@ stages:
 - test
 - deploy
 building:
-stage: build
-script:
-- R -e "remotes::install_deps(dependencies = TRUE)"
-- R -e 'devtools::check()'
+  stage: build
+  script:
+    - R -e "remotes::install_deps(dependencies = TRUE)"
+    - R -e 'devtools::check()'
 
 testing:
   stage: test
   allow_failure: true
   when: on_success
 only:
-  - master
+    - master
 coverage: '/coverage: \d+.\d+% of statements/'
 script:
-  - Rscript -e 'install.packages("DT")'
-  - Rscript -e 'install.packages("covr")'
-  - Rscript -e 'covr::gitlab(quiet = FALSE)'
+    - Rscript -e 'install.packages("DT")'
+    - Rscript -e 'install.packages("covr")'
+    - Rscript -e 'covr::gitlab(quiet = FALSE)'
 artifacts:
-  paths:
-    - public
+    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:
@@ -34,6 +34,6 @@ pages:
   artifacts:
     paths:
       - public
-  expire_in: 30 days
+    expire_in: 30 days
   only:
     - master
\ No newline at end of file