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 ## Packages
- sudo apt-get -qq update > /dev/null - sudo apt-get -qq update > /dev/null
## Composer ## Composer
##@todo Remove when support of 5.2 will be dropped
- composer self-update - composer self-update
- composer install --prefer-source --dev - composer install --prefer-source --dev
- phpenv global "$TRAVIS_PHP_VERSION" - phpenv global "$TRAVIS_PHP_VERSION"
script: script:
## PHP_CodeSniffer ## 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
- phpunit -c ./unitTests/ - phpunit -c ./unitTests/

View File

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