Merge branch 'psr2' of https://github.com/PHPOffice/PHPExcel into psr2
This commit is contained in:
commit
a86cbaa230
15
.travis.yml
15
.travis.yml
|
@ -2,8 +2,8 @@ language: php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 5.2
|
- 5.2
|
||||||
- 5.3.3
|
|
||||||
- 5.3
|
- 5.3
|
||||||
|
- 5.3.3
|
||||||
- 5.4
|
- 5.4
|
||||||
- 5.5
|
- 5.5
|
||||||
- 5.6
|
- 5.6
|
||||||
|
@ -13,7 +13,20 @@ matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: hhvm
|
- php: hhvm
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
## Packages
|
||||||
|
- sudo apt-get -qq update > /dev/null
|
||||||
|
## Composer
|
||||||
|
##@todo Remove when support of 5.2 will be dropped
|
||||||
|
- phpenv global 5.3
|
||||||
|
- composer self-update
|
||||||
|
- composer install --prefer-source --dev
|
||||||
|
- phpenv global "$TRAVIS_PHP_VERSION"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
## PHP_CodeSniffer
|
||||||
|
- ./vendor/bin/phpcs Classes/ unitTests/ --standard=PSR2 -n --ignore=Classes/PHPExcel/Shared/PCLZip
|
||||||
|
## PHPUnit
|
||||||
- phpunit -c ./unitTests/
|
- phpunit -c ./unitTests/
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Franck Lefevre",
|
"name": "Franck Lefevre",
|
||||||
"homepage": "http://blog.rootslabs.net"
|
"homepage": "http://rootslabs.net"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Erik Tilt"
|
"name": "Erik Tilt"
|
||||||
|
@ -26,6 +26,9 @@
|
||||||
"ext-xml": "*",
|
"ext-xml": "*",
|
||||||
"ext-xmlwriter": "*"
|
"ext-xmlwriter": "*"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"squizlabs/php_codesniffer": "1.*"
|
||||||
|
},
|
||||||
"recommend": {
|
"recommend": {
|
||||||
"ext-zip": "*",
|
"ext-zip": "*",
|
||||||
"ext-gd2": "*"
|
"ext-gd2": "*"
|
||||||
|
|
Loading…
Reference in New Issue