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