From 36fa02d38d3b090c0a18f7ed72065fd977bdd9d9 Mon Sep 17 00:00:00 2001
From: Eliah Rebstock <elireb54@outlook.com>
Date: Thu, 28 Feb 2019 21:20:08 +0100
Subject: [PATCH] Optimize CI build time

---
 .gitlab-ci.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2b3dfc6..be6335d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,10 +3,7 @@ image: ubuntu:bionic
 before_script:
   - dpkg --add-architecture i386
   - apt-get update
-  - apt-get install -y software-properties-common
-  - add-apt-repository -y ppa:snaipewastaken/ppa
-  - apt-get update
-  - apt-get install -y libx11-dev:i386 libc6-dev-i386 libx11-dev libc6-dev build-essential criterion-dev
+  - apt-get install -y libx11-dev:i386 libc6-dev-i386 libx11-dev libc6-dev build-essential
 
 stages:
   - build
@@ -23,6 +20,10 @@ make:
 unit-tests:
   stage: test
   script:
+    - apt-get install -y software-properties-common
+    - add-apt-repository -y ppa:snaipewastaken/ppa
+    - apt-get update
+    - apt-get install -y criterion-dev
     - make test
     - ./test/test
   tags:
-- 
GitLab