From b89c72eaf3cfeb7a5b7359951716703f2f8b789b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 27 Apr 2017 09:10:41 +0300 Subject: [PATCH] update CI (again) --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf0b1975..1bc67cd1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,8 @@ phpunit_basic: script: - /etc/init.d/postgresql start - /usr/local/sbin/init-database.sh - - sudo -s /bin/bash -u www-data php ./update.php --debug-feed 1 + - sh ./utils/gitlab-ci/check-schema.sh + - su -s /bin/bash -u www-data -c "php ./update.php --debug-feed 1" - phpunit tests/*.php phpunit_functional: