]> git.wh0rd.org - tt-rss.git/blame - .gitlab-ci.yml
update CI (again)
[tt-rss.git] / .gitlab-ci.yml
CommitLineData
b3b27823
AD
1phpmd:\r
2 image: php:5.6\r
94eedc29 3 script:\r
e7340184 4 - sh utils/gitlab-ci/php-lint.sh\r
a53ce54c
AD
5 - curl -o /usr/bin/phpmd -L http://static.phpmd.org/php/2.6.0/phpmd.phar\r
6 - chmod +x /usr/bin/phpmd\r
2f3bce59
AD
7 - sh utils/gitlab-ci/phpmd.sh\r
8\r
b3b27823
AD
9schema:\r
10 image: fox/selenium-ci\r
11 when: manual\r
12 script:\r
13 - /etc/init.d/postgresql start\r
14 - /usr/local/sbin/init-database.sh\r
15 - sh ./utils/gitlab-ci/check-schema.sh\r
897804ce 16\r
1d6c8d5c
AD
17phpunit_basic:\r
18 image: fox/selenium-ci\r
19 when: manual\r
20 script:\r
21 - /etc/init.d/postgresql start\r
22 - /usr/local/sbin/init-database.sh\r
b89c72ea 23 - sh ./utils/gitlab-ci/check-schema.sh\r
9c8a7975 24 - su -s /bin/bash www-data -c "php ./update.php --debug-feed 1"\r
1d6c8d5c
AD
25 - phpunit tests/*.php\r
26\r
27phpunit_functional:\r
897804ce
AD
28 image: fox/selenium-ci\r
29 when: manual\r
30 script:\r
31 - /etc/init.d/postgresql start\r
32 - /etc/init.d/nginx start\r
33 - /etc/init.d/php5-fpm start\r
34 - /usr/local/sbin/init-database.sh\r
35 - sh ./utils/gitlab-ci/check-schema.sh\r
36 - ln -s `pwd` ../../tt-rss\r
37 - cp utils/gitlab-ci/config-template.php config.php\r
38 - chmod -R 777 cache lock feed-icons\r
39 - /usr/local/sbin/init-selenium.sh\r
1d6c8d5c 40 - phpunit tests/functional/*.php\r