update CI
This commit is contained in:
parent
3517d363d3
commit
1d6c8d5c0e
1 changed files with 11 additions and 1 deletions
|
@ -14,7 +14,16 @@ schema:
|
||||||
- /usr/local/sbin/init-database.sh
|
- /usr/local/sbin/init-database.sh
|
||||||
- sh ./utils/gitlab-ci/check-schema.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
|
image: fox/selenium-ci
|
||||||
when: manual
|
when: manual
|
||||||
script:
|
script:
|
||||||
|
@ -27,3 +36,4 @@ selenium:
|
||||||
- cp utils/gitlab-ci/config-template.php config.php
|
- cp utils/gitlab-ci/config-template.php config.php
|
||||||
- chmod -R 777 cache lock feed-icons
|
- chmod -R 777 cache lock feed-icons
|
||||||
- /usr/local/sbin/init-selenium.sh
|
- /usr/local/sbin/init-selenium.sh
|
||||||
|
- phpunit tests/functional/*.php
|
||||||
|
|
Loading…
Reference in a new issue