Updates to travis and composer files for new folder structure

This commit is contained in:
MarkBaker 2015-05-26 21:24:14 +01:00
parent 85118eb030
commit 4ac2d1930e
2 changed files with 3 additions and 4 deletions

View File

@ -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/

View File

@ -36,8 +36,8 @@
"ext-gd2": "*"
},
"autoload": {
"psr-0": {
"PHPExcel": "Classes/"
"psr-4": {
"PHPExcel": "src/PhpSpreadsheet"
}
}
}