From 61b25a254549806f976e932331c8cbcdf60725c8 Mon Sep 17 00:00:00 2001
From: Will Morris <williamdunstanmorris@gmail.com>
Date: Mon, 10 Dec 2018 13:19:40 +0000
Subject: [PATCH] Added test stage to .gitlab-ci.yml

---
 .gitlab-ci.yml | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 586d07b..f68fa94 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,14 +2,16 @@
 # Mandelbrot: Gitlab-CI Config:
 # =============================
 
-# The stages where jobs run. Each stage contains one or more jobs that run independently from one another
-# Use stages to define dependencies and artifacts from previous stages.
+# Stages
+# =============================
 stages:
   - build
   - compile
-  - test
+  # - test
   - submit
 
+# Jobs
+# =============================
 # Stage: build
 compile-mandelbrot:
   stage: build
@@ -33,3 +35,19 @@ submit-mandelbrot:
         - mandelbrot.ppm
   tags:
     - macosx
+  # Keyword for specified branch to run on
+  only:
+    - master
+
+# Stage: submit
+compile-mandelbrot:
+  stage: build
+  script:
+    - gcc mandelbrot.c
+  artifacts:
+      paths:
+        - a.out
+  tags:
+    - macosx
+  only:
+    - condor
-- 
GitLab