]> git.wh0rd.org - tt-rss.git/blob - .gitlab-ci.yml
ci: check syntax via php first
[tt-rss.git] / .gitlab-ci.yml
1 phpmd:
2 image: php:5.6
3 script:
4 - sh utils/php-lint.sh
5 - curl -o /usr/bin/phpmd -L http://static.phpmd.org/php/2.6.0/phpmd.phar
6 - chmod +x /usr/bin/phpmd
7 - sh utils/gitlab-ci/phpmd.sh
8
9 schema:
10 image: fox/selenium-ci
11 when: manual
12 script:
13 - /etc/init.d/postgresql start
14 - /usr/local/sbin/init-database.sh
15 - sh ./utils/gitlab-ci/check-schema.sh
16
17 selenium:
18 image: fox/selenium-ci
19 when: manual
20 script:
21 - /etc/init.d/postgresql start
22 - /etc/init.d/nginx start
23 - /etc/init.d/php5-fpm start
24 - /usr/local/sbin/init-database.sh
25 - sh ./utils/gitlab-ci/check-schema.sh
26 - ln -s `pwd` ../../tt-rss
27 - cp utils/gitlab-ci/config-template.php config.php
28 - chmod -R 777 cache lock feed-icons
29 - /usr/local/sbin/init-selenium.sh