You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
494 B
25 lines
494 B
1 year ago
|
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
|