diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e9e8d52e87d8a37e6de4a899120a36727fcf3fb3..24594f4423fa3a52c8b9f539cd652322e0b1bbaa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -320,6 +320,7 @@ build-doc:
     - python setup.py doc
     - mv doc/html doc/"$CI_COMMIT_REF_NAME"
   artifacts:
+    expire_in: 1 day
     paths:
       - doc/$CI_COMMIT_REF_NAME
 
@@ -335,7 +336,7 @@ build-dist:
 
   stage: build
   image: python:3.5
-  
+
   tags:
     - docker
 
@@ -345,6 +346,7 @@ build-dist:
    - python setup.py bdist_wheel
 
   artifacts:
+    expire_in: 1 day
     paths:
       - dist/*