ttrss/.gitlab-ci.yml

30 lines
825 B
YAML
Raw Normal View History

2017-04-26 13:00:03 +00:00
phpmd:
image: php:5.6
script:
2017-04-26 13:31:21 +00:00
- sh utils/gitlab-ci/php-lint.sh
2017-04-26 13:01:39 +00: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 12:33:01 +00:00
- sh utils/gitlab-ci/phpmd.sh
2017-04-26 13:00:03 +00: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 13:07:35 +00: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