summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-04-26 14:01:25 +0300
committerAndrew Dolgov <[email protected]>2017-04-26 14:01:25 +0300
commit833636bbd01a458bdff2baa9d12967f8b1aa68f1 (patch)
treeebb4b338901b942d5e0702e6a5a346980ece72e2 /.gitlab-ci.yml
parentf78e10d14c2cac5e0940678fbc475886447eef2a (diff)
limit CI to phpmd for the time being
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml21
1 files changed, 6 insertions, 15 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 46eff28db..600695468 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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
+