diff options
author | Andrew Dolgov <[email protected]> | 2017-04-27 09:10:41 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-04-27 09:10:47 +0300 |
commit | b89c72eaf3cfeb7a5b7359951716703f2f8b789b (patch) | |
tree | a5b7388d974c26fb46452d61e91ec8b6ecf7d36d | |
parent | 1d6c8d5c0e1227ecbd38f201acaf392e9755a33f (diff) |
update CI (again)
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf0b19750..1bc67cd11 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:
|