From 5c2136f55f749cacae9fc084b466418b2882878d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@inrae.fr>
Date: Sun, 25 Oct 2020 07:23:04 +0100
Subject: [PATCH] Ajoute un test avec les deux versions de composer.

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..933e90a
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,12 @@
+include:
+  - project: pole-is/tools/ci-config
+    ref: "4.0.2"
+    file: /packagist-ci.yml
+
+test:
+  tags: [docker]
+  parallel:
+    - COMPOSER_MAJOR: "1"
+    - COMPOSER_MAJOR: "2"
+  image: composer:${COMPOSER_MAJOR}
+  script: composer install --ignore-platform-reqs
-- 
GitLab