X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.gitlab-ci.yml;h=cd5ecb0d4a7de8b3933d96d7144fbd98dd178ea7;hb=50052fb78a3a9d1bb3fa488e7fd7b23125c38124;hp=1bc67cd11c1f4166d584c642bad47eef02759fc7;hpb=b89c72eaf3cfeb7a5b7359951716703f2f8b789b;p=tt-rss.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1bc67cd1..cd5ecb0d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ phpmd: image: php:5.6 + when: manual script: - sh utils/gitlab-ci/php-lint.sh - curl -o /usr/bin/phpmd -L http://static.phpmd.org/php/2.6.0/phpmd.phar @@ -21,7 +22,10 @@ phpunit_basic: - /etc/init.d/postgresql start - /usr/local/sbin/init-database.sh - sh ./utils/gitlab-ci/check-schema.sh - - su -s /bin/bash -u www-data -c "php ./update.php --debug-feed 1" + - cp utils/gitlab-ci/config-template.php config.php + - su -s /bin/bash www-data -c "php ./update.php --debug-feed 1" + - wget -O /usr/bin/phpunit https://phar.phpunit.de/phpunit-5.7.phar + - chmod +x /usr/bin/phpunit - phpunit tests/*.php phpunit_functional: