diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..08056c7bcd011c92e88e9f935d4ad0a8643d30bc --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +stages: +- tests +- publish + +cache: + key: ${CI_COMMIT_REF_SLUG} + paths: + - vendor/ + +unit-tests: + stage: tests + script: + - composer install --no-interaction --no-suggest --no-progress + - php vendor/bin/phpunit --coverage-text --colors=never > coverage.txt + artifacts: + paths: + - coverage.txt + +update-satis: + stage: publish + script: + - update-satis