summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-04-27 09:06:54 +0300
committerAndrew Dolgov <[email protected]>2017-04-27 09:06:54 +0300
commit1d6c8d5c0e1227ecbd38f201acaf392e9755a33f (patch)
treeefd82ab58560b4134df85740fbf3e24dbf1f1f16 /.gitlab-ci.yml
parent3517d363d339783c9342f615e4cbcad3e31e111e (diff)
update CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6fca8825d..bf0b19750 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,7 +14,16 @@ schema:
- /usr/local/sbin/init-database.sh
- sh ./utils/gitlab-ci/check-schema.sh
-selenium:
+phpunit_basic:
+ image: fox/selenium-ci
+ when: manual
+ 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
+ - phpunit tests/*.php
+
+phpunit_functional:
image: fox/selenium-ci
when: manual
script:
@@ -27,3 +36,4 @@ selenium:
- cp utils/gitlab-ci/config-template.php config.php
- chmod -R 777 cache lock feed-icons
- /usr/local/sbin/init-selenium.sh
+ - phpunit tests/functional/*.php