File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ language : php
2+ php :
3+ - 5.2
4+ - 5.3.3
5+ - 5.3
6+ - 5.4
7+ - 5.5
8+
9+ before_script :
10+ # # Composer
11+ - curl -s http://getcomposer.org/installer | php
12+ - php composer.phar install
13+ # # PHP_CodeSniffer
14+ - pyrus install pear/PHP_CodeSniffer
15+ - phpenv rehash
16+ # # PHP Copy/Paste Detector
17+ - curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar
18+ # # PHP Mess Detector
19+ - pear config-set preferred_state beta
20+ - printf "\n" | pecl install imagick
21+ - pear channel-discover pear.phpmd.org
22+ - pear channel-discover pear.pdepend.org
23+ - pear install --alldeps phpmd/PHP_PMD
24+ - phpenv rehash
25+ # # PHPLOC
26+ - curl -o phploc.phar https://phar.phpunit.de/phploc.phar
27+
28+ script :
29+ # # PHP_CodeSniffer
30+ - phpcs --standard=PSR1 src/
31+ - phpcs --standard=PSR2 src/
32+ # # PHP Copy/Paste Detector
33+ - php phpcpd.phar --verbose src/
34+ # # PHP Mess Detector
35+ - phpmd src/ text codesize,unusedcode,naming,design
36+ # # PHPLOC
37+ - php phploc.phar src/
38+
39+ notifications :
40+ email :
41+ - progi1984@gmail.com
You can’t perform that action at this time.
0 commit comments