From 9746daf8ab75f993aca6e83cf6e36b02017f7a0f Mon Sep 17 00:00:00 2001
From: Jan Caron <j.caron@fz-juelich.de>
Date: Tue, 11 Jul 2017 17:12:08 +0200
Subject: [PATCH] Added yml line to install jutil (probably does not work...)

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0cac285..ac4383f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,10 +3,13 @@ image: "python:3.5"
 before_script:
   # Check and print Python version
   - python --version
+  # List installed stuff:
+  - apt list --installed
   ####- pip install hyperspy tqdm cmocean nose
   # Run ssh-agent, "-s" forces generation of Bourne shell (/bin/sh) commands on stdout:
   - eval $(ssh-agent -s)
   # Add SSH key for jutil to the agent store:
+  - echo "$SSH_KEY_JUTIL"
   - ssh-add <(echo "$SSH_KEY_JUTIL")
   # For Docker builds disable host key checking. Be aware that by adding that
   # you are suspectible to man-in-the-middle attacks.
@@ -14,6 +17,7 @@ before_script:
   # you will overwrite your user's SSH config.
   - mkdir -p ~/.ssh
   - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
+  - pip install git+ssh://gitlab@iffgit.fz-juelich.de/unger/jutil.git
   - echo "Done"
 
 stages:
-- 
GitLab