]> git.wh0rd.org - tt-rss.git/blame - .gitlab-ci.yml
pngcrush.sh
[tt-rss.git] / .gitlab-ci.yml
CommitLineData
b3b27823
AD
1phpmd:\r
2 image: php:5.6\r
5f5f92da 3 when: manual\r
94eedc29 4 script:\r
e7340184 5 - sh utils/gitlab-ci/php-lint.sh\r
a53ce54c
AD
6 - curl -o /usr/bin/phpmd -L http://static.phpmd.org/php/2.6.0/phpmd.phar\r
7 - chmod +x /usr/bin/phpmd\r
2f3bce59
AD
8 - sh utils/gitlab-ci/phpmd.sh\r
9\r
b3b27823
AD
10schema:\r
11 image: fox/selenium-ci\r
12 when: manual\r
13 script:\r
14 - /etc/init.d/postgresql start\r
15 - /usr/local/sbin/init-database.sh\r
16 - sh ./utils/gitlab-ci/check-schema.sh\r
897804ce 17\r
1d6c8d5c
AD
18phpunit_basic:\r
19 image: fox/selenium-ci\r
20 when: manual\r
21 script:\r
22 - /etc/init.d/postgresql start\r
23 - /usr/local/sbin/init-database.sh\r
b89c72ea 24 - sh ./utils/gitlab-ci/check-schema.sh\r
c849dd63 25 - cp utils/gitlab-ci/config-template.php config.php\r
9c8a7975 26 - su -s /bin/bash www-data -c "php ./update.php --debug-feed 1"\r
f03aaf27
AD
27 - wget -O /usr/bin/phpunit https://phar.phpunit.de/phpunit-5.7.phar\r
28 - chmod +x /usr/bin/phpunit\r
1d6c8d5c
AD
29 - phpunit tests/*.php\r
30\r
31phpunit_functional:\r
897804ce
AD
32 image: fox/selenium-ci\r
33 when: manual\r
34 script:\r
35 - /etc/init.d/postgresql start\r
36 - /etc/init.d/nginx start\r
37 - /etc/init.d/php5-fpm start\r
38 - /usr/local/sbin/init-database.sh\r
39 - sh ./utils/gitlab-ci/check-schema.sh\r
40 - ln -s `pwd` ../../tt-rss\r
41 - cp utils/gitlab-ci/config-template.php config.php\r
42 - chmod -R 777 cache lock feed-icons\r
43 - /usr/local/sbin/init-selenium.sh\r
1d6c8d5c 44 - phpunit tests/functional/*.php\r