tt-rss/.gitlab-ci.yml

30 lines
815 B
YAML
Raw Normal View History

2017-04-26 15:00:03 +02:00
phpmd:
image: php:5.6
script:
2017-04-26 15:26:53 +02:00
- sh utils/php-lint.sh
2017-04-26 15:01:39 +02:00
- curl -o /usr/bin/phpmd -L http://static.phpmd.org/php/2.6.0/phpmd.phar
- chmod +x /usr/bin/phpmd
2017-04-26 14:33:01 +02:00
- sh utils/gitlab-ci/phpmd.sh
2017-04-26 15:00:03 +02:00
schema:
image: fox/selenium-ci
when: manual
script:
- /etc/init.d/postgresql start
- /usr/local/sbin/init-database.sh
- sh ./utils/gitlab-ci/check-schema.sh
2017-04-26 15:07:35 +02:00
selenium:
image: fox/selenium-ci
when: manual
script:
- /etc/init.d/postgresql start
- /etc/init.d/nginx start
- /etc/init.d/php5-fpm start
- /usr/local/sbin/init-database.sh
- sh ./utils/gitlab-ci/check-schema.sh
- ln -s `pwd` ../../tt-rss
- cp utils/gitlab-ci/config-template.php config.php
- chmod -R 777 cache lock feed-icons
- /usr/local/sbin/init-selenium.sh