Skip to content
Extraits de code Groupes Projets

Add CI

Ouvert marcimat requested to merge add_ci into main
+ 15
17
@@ -2,28 +2,26 @@ stages:
- check
- build
- test
# - deploy
image: php:latest
cache:
paths:
- vendor/
before_script:
# Install git
- apt update -yqq
- apt install git libzip-dev -yqq
- docker-php-ext-install zip
default:
image: php:latest
cache:
paths:
- vendor/
before_script:
# Install git
- apt update -yqq
- apt install git libzip-dev -yqq
- docker-php-ext-install zip
# Install composer
- curl -sS https://getcomposer.org/installer | php
# Install composer
- curl -sS https://getcomposer.org/installer | php
# Install all project dependencies
- php composer.phar install
# Install all project dependencies
- php composer.phar install
# d’abord vérifier rapidement les fichiers
job:lint:php:
job:check:php:
stage: check
when: on_success
only:
Chargement en cours