From 2da936ea63d967e1448061bbc6ad246200ba53e0 Mon Sep 17 00:00:00 2001
From: lukken <lukken@astron.nl>
Date: Wed, 9 Jun 2021 11:43:22 +0000
Subject: [PATCH] Add gitlab-ci using tango image

---
 .gitlab-ci.yml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000..ffffb466a
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,21 @@
+image: artefact.skatelescope.org/ska-tango-images/tango-itango:9.3.3.7
+variables:
+  PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
+cache:
+  paths:
+    - .cache/pip
+    - .tox
+before_script:
+  - pip install tox
+stages:
+  - linting
+  - unit-tests
+linting:
+  stage: linting
+  script:
+    - tox -e pep8
+unit_test:
+  stage: unit-tests
+#  image: python:3.6-buster
+  script:
+    - tox -e py36
\ No newline at end of file
-- 
GitLab