Updates to travis and composer files for new folder structure
This commit is contained in:
parent
85118eb030
commit
4ac2d1930e
|
@ -15,14 +15,13 @@ before_script:
|
|||
## Packages
|
||||
- sudo apt-get -qq update > /dev/null
|
||||
## Composer
|
||||
##@todo Remove when support of 5.2 will be dropped
|
||||
- composer self-update
|
||||
- composer install --prefer-source --dev
|
||||
- phpenv global "$TRAVIS_PHP_VERSION"
|
||||
|
||||
script:
|
||||
## PHP_CodeSniffer
|
||||
- ./vendor/bin/phpcs --report-width=200 --report-summary --report-full Classes/ unitTests/ --standard=PSR2 -n
|
||||
- ./vendor/bin/phpcs --report-width=200 --report-summary --report-full src/ unitTests/ --standard=PSR2 -n
|
||||
## PHPUnit
|
||||
- phpunit -c ./unitTests/
|
||||
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
"ext-gd2": "*"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"PHPExcel": "Classes/"
|
||||
"psr-4": {
|
||||
"PHPExcel": "src/PhpSpreadsheet"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue