Ajouter '.drone.yml'

master
Louis DUFOUR 1 year ago
parent 6b1460fb64
commit c83d4ccaad

@ -0,0 +1,24 @@
kind: pipeline
type: docker
name: projetDeCédric
image: php:8.0
cache:
paths:
- vendor/
before_script:
- apt-get update -yqq
- apt-get install -yqq git unzip
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
- php composer-setup.php --install-dir=/usr/local/bin --filename=composer
- composer install --prefer-dist --no-ansi --no-interaction --no-progress
stages:
- test
run_tests:
stage: test
script:
- vendor/bin/phpunit common/Tests
Loading…
Cancel
Save