From a1fe77cda51c4e845baa38776668734effad06f6 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Fri, 12 Apr 2019 19:47:12 +0200 Subject: [PATCH] add gitlab CI --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitlab-ci.yml 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