]>
Commit | Line | Data |
---|---|---|
1 | phpmd:\r | |
2 | image: php:5.6\r | |
3 | when: manual\r | |
4 | script:\r | |
5 | - sh utils/gitlab-ci/php-lint.sh\r | |
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 | |
8 | - sh utils/gitlab-ci/phpmd.sh\r | |
9 | \r | |
10 | schema:\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 | |
17 | \r | |
18 | phpunit_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 | |
24 | - sh ./utils/gitlab-ci/check-schema.sh\r | |
25 | - cp utils/gitlab-ci/config-template.php config.php\r | |
26 | - su -s /bin/bash www-data -c "php ./update.php --debug-feed 1"\r | |
27 | - wget -O /usr/bin/phpunit https://phar.phpunit.de/phpunit-5.7.phar\r | |
28 | - chmod +x /usr/bin/phpunit\r | |
29 | - phpunit tests/*.php\r | |
30 | \r | |
31 | phpunit_functional:\r | |
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 | |
44 | - phpunit tests/functional/*.php\r |