Travis CI : Support for PSR-2 test

This commit is contained in:
Progi1984 2015-05-11 12:30:15 +02:00
parent 547d2bd3b2
commit 46dfaa9f8a
2 changed files with 17 additions and 4 deletions

View File

@ -10,11 +10,21 @@ php:
- hhvm
matrix:
allow_failures:
- php: hhvm
allow_failures:
- php: hhvm
before_script:
## Packages
- sudo apt-get -qq update > /dev/null
## Composer
- composer self-update
- composer install --prefer-source --dev
script:
- phpunit -c ./unitTests/
## PHP_CodeSniffer
- ./vendor/bin/phpcs Classes/ unitTests/ --standard=PSR2 -n --ignore=Classes/PHPExcel/Shared/PCLZip
## PHPUnit
- phpunit -c ./unitTests/
notifications:
email: false

View File

@ -15,7 +15,7 @@
},
{
"name": "Franck Lefevre",
"homepage": "http://blog.rootslabs.net"
"homepage": "http://rootslabs.net"
},
{
"name": "Erik Tilt"
@ -26,6 +26,9 @@
"ext-xml": "*",
"ext-xmlwriter": "*"
},
"require-dev": {
"squizlabs/php_codesniffer": "1.*"
},
"recommend": {
"ext-zip": "*",
"ext-gd2": "*"