Permalink
Browse files

Travis cleanup

Add PHP 7, simpler tool installs, remove junk.
  • Loading branch information...
1 parent 7f65de5 commit 36f388d3e470e32eb150d545e66225de589e5483 @svivian svivian committed Dec 30, 2015
Showing with 10 additions and 22 deletions.
  1. +10 −22 .travis.yml
View
@@ -1,9 +1,13 @@
sudo: false
+
language: php
+
php:
- - 5.3
- - 5.4
- - 5.5
+ - '5.3'
+ - '5.4'
+ - '5.5'
+ - '5.6'
+ - '7.0'
notifications:
email:
@@ -12,32 +16,16 @@ notifications:
before_script:
# PHP_CodeSniffer
- - pear install pear/PHP_CodeSniffer
- - phpenv rehash
+ - curl -o phpcs.phar https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
# PHP Copy/Paste Detector
- curl -o phpcpd.phar https://phar.phpunit.de/phpcpd.phar
- # PHP Mess Detector
- - pear config-set preferred_state beta
- - printf "\n\n" | pecl install imagick
- - pear channel-discover pear.phpmd.org
- - pear channel-discover pear.pdepend.org
- - pear install --alldeps phpmd/PHP_PMD
- - phpenv rehash
- # PHPLOC
- - curl -o phploc.phar https://phar.phpunit.de/phploc-2.0.6.phar
# Basic config required for PHPUnit
- cp qa-tests/phpunit-qa-config.php qa-config.php
script:
- # Most of this has been turned off until the code is actually close to passing
- # PHP_CodeSniffer
- #- phpcs --report=emacs --extensions=php --standard=qa-tests/phpcs/ruleset.xml .
- # PHP Mess Detector
- #- phpmd --exclude qa-include/vendor/ . text codesize
- #- phpmd --exclude qa-include/vendor/ . text unusedcode
+ # PHP_CodeSniffer (turned off for now)
+ #- php phpcs.phar --report=emacs --extensions=php --standard=qa-tests/phpcs/ruleset.xml .
# PHP Copy/Paste Detector
- php phpcpd.phar --exclude vendor .
- # PHPLOC
- - php phploc.phar .
# PHPUnit
- phpunit --bootstrap qa-tests/autoload.php qa-tests

0 comments on commit 36f388d

Please sign in to comment.