From c315070a5f8ee34ff1154fefcf0b005231b8e278 Mon Sep 17 00:00:00 2001
From: Thomas Wood <thomas.wood09@imperial.ac.uk>
Date: Tue, 28 Jun 2016 16:35:29 +0100
Subject: [PATCH] Make deadlinks a deploy stage, so gated by the initial build

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 05e86bc..3eca8e5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,8 +6,9 @@ test:
   script:
     - bundle exec rake test
 
+# Not a test stage to prevent race conditions with gem installations.
 deadlinks:
-  stage: test
+  stage: deploy
   script:
     - bundle exec rake testlinks
   allow_failure: true
-- 
GitLab