From 0e9df43d889d7cc9cfadcf5d60a727afad6622dc Mon Sep 17 00:00:00 2001 From: idanoo Date: Tue, 7 Feb 2023 15:31:52 +1300 Subject: [PATCH] Add CI file --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..44a1b8c --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,9 @@ +# Codestandards +lint: + image: php:8.2 + allow_failure: true + script: + - apt update && apt install -y wget unzip git + - wget https://getcomposer.org/composer.phar + - php composer.phar install --dev + - php -d memory_limit=256M vendor/bin/phpcs -s --standard=ruleset.xml \ No newline at end of file