From f913ca089f2e4bbe68e08cf787c3d20e6e028add Mon Sep 17 00:00:00 2001
From: arnaudlabourel <arnaud.labourel@univ-amu.fr>
Date: Tue, 9 Jan 2024 11:24:27 +0100
Subject: [PATCH] added gitlab config at root

---
 .gitlab-ci.yml   | 40 ++++++++++++++++++++++++++++++++++++++++
 .idea/.gitignore |  8 ++++++++
 CR-TP2/.gitkeep  |  0
 3 files changed, 48 insertions(+)
 create mode 100644 .gitlab-ci.yml
 create mode 100644 .idea/.gitignore
 create mode 100644 CR-TP2/.gitkeep

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..5f0fe38
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,40 @@
+include:
+  - local: 'TP2/.gitlab-ci.yml'
+
+## my_folder/build.yml
+# the `.` (dot) before build means that we don't want it run alone, we must
+# extends to run this part
+.build:
+  variables:
+    SOFTWARE_ROOT: ""
+  script:
+    - build ${SOFTWARE_ROOT}
+
+build_tp_2:
+  extends: .build
+  variables:
+    SOFTWARE_ROOT: "TP2/"
+
+
+.test:
+  variables:
+    SOFTWARE_ROOT: ""
+  script:
+    - test ${SOFTWARE_ROOT}
+
+test_tp_2:
+  extends: .test
+  variables:
+    SOFTWARE_ROOT: "TP2/"
+
+
+.coverage:
+  variables:
+    SOFTWARE_ROOT: ""
+  script:
+    - coverage ${SOFTWARE_ROOT}
+
+coverage_tp_2:
+  extends: .coverage
+  variables:
+    SOFTWARE_ROOT: "TP2/"
\ No newline at end of file
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/CR-TP2/.gitkeep b/CR-TP2/.gitkeep
new file mode 100644
index 0000000..e69de29
-- 
GitLab