]> git.wh0rd.org - tt-rss.git/commitdiff
update CI (again)
authorAndrew Dolgov <noreply@fakecake.org>
Thu, 27 Apr 2017 06:10:41 +0000 (09:10 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Thu, 27 Apr 2017 06:10:47 +0000 (09:10 +0300)
.gitlab-ci.yml

index bf0b19750abfdd7cbeb39eb686ee86cbec2391b1..1bc67cd11c1f4166d584c642bad47eef02759fc7 100644 (file)
@@ -20,7 +20,8 @@ phpunit_basic:
   script:\r
     - /etc/init.d/postgresql start\r
     - /usr/local/sbin/init-database.sh\r
-    - sudo -s /bin/bash -u www-data php ./update.php --debug-feed 1\r
+    - sh ./utils/gitlab-ci/check-schema.sh\r
+    - su -s /bin/bash -u www-data -c "php ./update.php --debug-feed 1"\r
     - phpunit tests/*.php\r
 \r
 phpunit_functional:\r