Commit c853b2f3 by Scott

Better Travis CI config

parent 1204c326
...@@ -12,7 +12,6 @@ before_script: ...@@ -12,7 +12,6 @@ before_script:
- curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar - curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar
## PHP Mess Detector ## PHP Mess Detector
- pear config-set preferred_state beta - pear config-set preferred_state beta
- printf "\n" | pecl install imagick
- pear channel-discover pear.phpmd.org - pear channel-discover pear.phpmd.org
- pear channel-discover pear.pdepend.org - pear channel-discover pear.pdepend.org
- pear install --alldeps phpmd/PHP_PMD - pear install --alldeps phpmd/PHP_PMD
...@@ -22,17 +21,13 @@ before_script: ...@@ -22,17 +21,13 @@ before_script:
script: script:
## PHP_CodeSniffer ## PHP_CodeSniffer
- phpcs --extensions=php --standard=qa-tests/phpcs/ruleset.xml . - phpcs --report=emacs --extensions=php --standard=qa-tests/phpcs/ruleset.xml .
## PHP Copy/Paste Detector ## PHP Copy/Paste Detector
- php phpcpd.phar --verbose . - php phpcpd.phar .
## PHP Mess Detector ## PHP Mess Detector
- phpmd . text cleancode - phpmd --exclude qa-include/vendor/ . text codesize
- phpmd . text codesize - phpmd --exclude qa-include/vendor/ . text unusedcode
- phpmd . text controversial
- phpmd . text design
- phpmd . text naming
- phpmd . text unusedcode
## PHPLOC ## PHPLOC
- php phploc.phar . - php phploc.phar .
## PHPUNIT ## PHPUNIT
- phpunit . - phpunit --bootstrap qa-tests/autoload.php qa-tests
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment