diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9b9fefe1ab1547abf4598d2f7bf404df7f37b0ec..f510bef1f6f1efaa71c83e14cb6e6bc8568af727 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,8 @@
 before_script:
+    - echo "deb http://ftp.us.debian.org/debian unstable main contrib non-free" > /etc/apt/sources.list.d/unstable.list
     - apt-get update
-    - apt-get install -y -qq make cmake libboost-test-dev gem g++-7
+    - apt-get install -y -qq make cmake libboost-test-dev gem 
+    - apt-get install -t testing g++-7
     - gem install funit
     - ./build.sh