From 8fe56b7710d5ec33fe74eaca7625ab138087656d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu>
Date: Wed, 19 Jan 2022 17:36:38 +0100
Subject: [PATCH] Update .gitlab-ci.yml file

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..b367d28
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,31 @@
+stages:          # List of stages for jobs, and their order of execution
+  - install
+  - test
+
+installation-test-xenial:       # This job runs in the build stage, which runs first.
+  stage: install
+  image: ubuntu:16.04
+  script:
+    - apt install expect -y
+    - ./auto_script_wolf
+
+installation-test-bionic:       # This job runs in the build stage, which runs first.
+  stage: install
+  image: ubuntu:18.04
+  script:
+    - apt install expect -y
+    - ./auto_script_wolf
+
+installation-test-focal:       # This job runs in the build stage, which runs first.
+  stage: install
+  image: ubuntu:20.04
+  script:
+    - apt install expect -y
+    - ./auto_script_wolf
+
+lint-test-job:   # This job also runs in the test stage.
+  stage: test    # It can run at the same time as unit-test-job (in parallel).
+  script:
+    - echo "Linting code... This will take about 10 seconds."
+    - sleep 10
+    - echo "No lint issues found."
\ No newline at end of file
-- 
GitLab