From ca71018f77aa5f323d6b557412fe651f250800d9 Mon Sep 17 00:00:00 2001
From: Daniel Brown <ddb@star.sr.bham.ac.uk>
Date: Tue, 3 May 2016 12:31:48 -0700
Subject: [PATCH] trying to fix env variables in testing

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5033ba9..a877957 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,6 @@
 before_script:
     - export CWD=$(pwd)
     - export PYTHONPATH=$PYTHONPATH:$CWD
-    - source /etc/environment # Why this doesn't happen automatically I don't know...
     # - cd /finesse
     # - rm kat
     # - git reset --hard
@@ -14,6 +13,7 @@ before_script:
     
 python_3:
     script:
+        - source /setup.sh
         - kat -v
         - which python3
         - python3 --version
@@ -22,6 +22,7 @@ python_3:
         
 python_2:
     script:
+        - source /setup.sh
         - kat -v
         - which python2.7
         - python2.7 --version
-- 
GitLab