- /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
- 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