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

index 6fca8825dc5c4cbd1b630f14da9f54396292aa56..bf0b19750abfdd7cbeb39eb686ee86cbec2391b1 100644 (file)
@@ -14,7 +14,16 @@ schema:
     - /usr/local/sbin/init-database.sh\r
     - sh ./utils/gitlab-ci/check-schema.sh\r
 \r
-selenium:\r
+phpunit_basic:\r
+  image: fox/selenium-ci\r
+  when: manual\r
+  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
+    - phpunit tests/*.php\r
+\r
+phpunit_functional:\r
   image: fox/selenium-ci\r
   when: manual\r
   script:\r
@@ -27,3 +36,4 @@ selenium:
     - cp utils/gitlab-ci/config-template.php config.php\r
     - chmod -R 777 cache lock feed-icons\r
     - /usr/local/sbin/init-selenium.sh\r
+    - phpunit tests/functional/*.php\r