From 44cf61f997f479e4c17762d84d8fbed14a92916a Mon Sep 17 00:00:00 2001
From: MJB <mjb@it-innovation.soton.ac.uk>
Date: Mon, 26 Mar 2018 19:14:48 +0100
Subject: [PATCH] build in ci file

---
 .gitlab-ci.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index edfaa1a..852c415 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,8 +1,13 @@
 stages:  
+  - build
   - test:scripts
   - test:monitoring
   - test:inputs
-  
+
+build:
+  - stage: build
+  - python setup.py sdist --dist-dir=build  
+
 test:scripts:
   stage: test:scripts
   script: 
-- 
GitLab