Add gitlab CI-test pipeline
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..e6fa466
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,23 @@
+image: php:8.1-apache
+
+build:
+  stage: build
+  before_script:   
+    - apt-get update
+    - apt-get install -y git redis ocrad imagemagick libpng-dev zlib1g-dev zlib1g-dev libzip-dev unzip
+    - docker-php-ext-install zip
+    - docker-php-ext-install gd
+    - curl -sS https://getcomposer.org/installer -o composer-setup.php
+    - php composer-setup.php --install-dir=/usr/local/bin --filename=composer
+    - pear install mail
+    - pear install Net_SMTP
+    - pear install Auth_SASL
+    - pear install mail_mime
+    - composer install
+    - mv config.php.example config.php
+    - rm -rf /var/www/html
+    - ln -s $CI_PROJECT_DIR /var/www/html
+    - service apache2 start
+  script:
+    - curl -s "http://localhost/" | grep Username
+    - curl -s "http://localhost/?type=recover" | grep -e 'Reset your .* password'