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
|
## 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/
|
||||||
|
|
||||||
|
|
|
@ -36,8 +36,8 @@
|
||||||
"ext-gd2": "*"
|
"ext-gd2": "*"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-4": {
|
||||||
"PHPExcel": "Classes/"
|
"PHPExcel": "src/PhpSpreadsheet"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue