diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7aacdd311081e55df858dd767fafe39b7819fa3c..973f5de5b613f22897bb8c347a7d176015c83ef3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,38 +1,7 @@
-stages:
-  - test
-  - deploy
-
-.test:
-  stage: test
-  tags: [docker]
-  image: gitlab-registry.irstea.fr/pole-is/docker/php:buster-${CI_JOB_NAME}
-  variables:
-    COMPOSER_CACHE_DIR: "${CI_PROJECT_DIR}/.composer-cache"
-    COMPOSER_OPTS: ""
-  before_script:
-    - php -v
-    - composer -V
-  script:
-    - composer update $COMPOSER_OPTS
-    - php -l src/*.php
-    - vendor/bin/composer-require-checker
-    - vendor/bin/php-cs-fixer fix --verbose --dry-run --using-cache=no
-    - vendor/bin/phpunit
-  cache:
-    key: "composer-cache-${CI_COMMIT_REF_NAME}"
-    paths:
-      - "${COMPOSER_CACHE_DIR}"
-
-"7.1":
-  extends: .test
-  variables:
-    COMPOSER_OPTS: "--prefer-lowest --prefer-stable"
-
-"7.3":
-  extends: .test
-
-deploy:
-  stage: deploy
-  tags: [docker]
-  image: appropriate/curl
-  script: ./.packagist.sh
+include:
+  - project: pole-is/tools/ci-config
+    ref: "2.1.0"
+    file: /php-multiversions-ci.yml
+  - project: pole-is/tools/ci-config
+    ref: "2.1.0"
+    file: /packagist-ci.yml
diff --git a/.packagist.sh b/.packagist.sh
deleted file mode 100755
index a4d7718b4bf54dd689cfcbdc75a0c3e97d2033c7..0000000000000000000000000000000000000000
--- a/.packagist.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/usr/bin/env sh
-curl -fsSL \
-    -H"Content-Type: application/json" \
-    -d'{"repository":{"url":"'$CI_PROJECT_URL'.git"}}' \
-    "https://packagist.org/api/update-package?username=$PACKAGIST_USERNAME&apiToken=$PACKAGIST_TOKEN"