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