diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..b1b43ba --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +# This file is a template, and might need editing before it works on your project. +# Select image from https://hub.docker.com/_/php/ +image: chialab/php:7.3 + +# Select what we should cache between builds +cache: + paths: + - vendor/ + +before_script: + - composer install + - php -S localhost:9000 -t public & + +test: + script: + - php update.php + - php test.php