1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

limit CI to phpmd for the time being

This commit is contained in:
Andrew Dolgov
2017-04-26 14:01:25 +03:00
parent f78e10d14c
commit 833636bbd0
5 changed files with 6 additions and 311 deletions
+6 -15
View File
@@ -1,16 +1,8 @@
image: fox/selenium-ci
image: php:5.6
before_script:
- pwd
- ln -s `pwd` ../../tt-rss
- cp utils/gitlab-ci/nginx-default /etc/nginx/sites-enabled/default
- /etc/init.d/postgresql start
- /etc/init.d/nginx start
- /etc/init.d/php5-fpm start
- /usr/local/sbin/init-database.sh
- cp utils/gitlab-ci/config-template.php config.php
- chmod -R 777 cache lock feed-icons
- /usr/local/sbin/init-selenium.sh
- curl -o /usr/bin/phpmd -L http://static.phpmd.org/php/2.6.0/phpmd.phar
- chmod +x /usr/bin/phpmd
stages:
- test
@@ -19,7 +11,6 @@ jobs:
when: manual
stage: test
script:
- sh ./utils/gitlab-ci/php-lint.sh
- sh ./utils/gitlab-ci/check-schema.sh
- su -s /bin/bash -m www-data -c "php ./update.php --debug-feed 1"
- phpunit ./tests/functional/*.php
- phpmd.phar include text utils/gitlab-ci/phpmd-ruleset.xml
- phpmd.phar classes text utils/gitlab-ci/phpmd-ruleset.xml