diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c2bef5368bec571bc30ec5497deb7e2ab7b74fb9..24509e406dfe7e2c0795e1a86efbccdf343c16da 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,19 +2,20 @@ image: stretch_website
 
 before_script:
   - export LANG=en_US.UTF-8
-  - id
+  - echo "deb http://security.debian.org/debian-security stretch/updates main contrib non-free" >> /etc/apt/sources.list
+  - sort /etc/apt/sources.list | uniq > sources.list.new
+  - mv sources.list.new /etc/apt/sources.list
+  - cat /etc/apt/sources.list
   - apt-get update
   - apt-get install -y dpkg-dev quilt devscripts
   - python3 -m venv venv
   - source venv/bin/activate
   - pip install wheel
   - pip install -r requirements.txt
-  - cat /etc/apt/sources.list
-  - ls /etc/apt/sources.list.d/
 
 stages:
-  - test
+  - build
 
-test:
-  stage: test
+build:
+  stage: build
   script: scripts/build.py