mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-22 05:16:06 +03:00
34 lines
605 B
YAML
34 lines
605 B
YAML
language: php
|
|
|
|
php:
|
|
- 5.2
|
|
- 5.3
|
|
- 5.3.3
|
|
- 5.4
|
|
- 5.5
|
|
- 5.6
|
|
- hhvm
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- 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:
|
|
## PHP_CodeSniffer
|
|
- ./vendor/bin/phpcs --report-width=200 --report-summary --report-full Classes/ unitTests/ --standard=PSR2 -n
|
|
## PHPUnit
|
|
- phpunit -c ./unitTests/
|
|
|
|
notifications:
|
|
email: false
|